Hi
Is there any way to suspend cron job without ommitting crontab entries??
I have a no of entries in crontab, which runs daily.......... what if I want to suspend all process in cron one day . Is there any one line command for it ??
Please suggest
Rergards
Pankaj
eth0
August 12, 2006, 12:28pm
2
You can just comment it out until you are ready for it to run again.
Hi
THanks for your reply , but commenting will not serve my purpose, as I have 15-16 job entries in crontab, & commenting each would be a cumbersome job.
Also if any one can tell about the limitation of entries in crontab file. I mean how many process can be entered in crontab ??
Any help will be appreciated
Regards
Pankaj
aigles
August 14, 2006, 4:17am
4
To suppress all jobs from crontab :
crontab -l > cronfile.dat # Save actual crontab file
crontab -r # Remove crontab file
To restor all jobs :
crontab < cronfile.dat
Jean-Pierre.
system
August 14, 2006, 8:18am
5
EDIT: ooops isread the post.