Wednesday, October 16, 2013

Replacing Cron File

www.unixbabuforum.inI wanted to to add/remove #(Blocking/freeing) infront of certain cronjobs through the shell script, Somebody told me to replace the whole cron file with a newer one..I don't know either

www.unixbabuforum.inYou have two options to edit the CRON file of a user. When logged in as root type the command "crontab -e userid" it will put you in a "vi" mode of the user's CRONTAB file. 

Or you can simply type the command "vi var/spool/cron/crontab/userid". 

Then you can place the "#" symbol in the first column of the command in the cron file


Post a Comment

Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM