![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| temporarily suspend crontab | Paul.S | Shell Programming and Scripting | 7 | 09-02-2009 12:18 PM |
| Suspend in opensolaris | FloridaBSD | SUN Solaris | 2 | 10-25-2008 03:01 PM |
| suspend a process | superuser84 | UNIX for Advanced & Expert Users | 6 | 03-18-2008 09:36 PM |
| Suspend Cron job temprory | pankajkrmishra | Shell Programming and Scripting | 4 | 08-14-2006 09:18 AM |
| suspend a process | piou78 | Shell Programming and Scripting | 7 | 06-03-2005 10:08 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Suspend of crontab temprorarily
Hello Friends, I would like to find out if there is a way to suspend crontab script? I need to suspend the scheduling of crontab scripts in case of an alarm and when alarm ends need to start them again automaticaly, could you suggest me a method? one of participiant of the forum with name aigles said: To suppress all jobs from crontab : Code:
crontab -l > cronfile.dat # Save actual crontab file crontab -r # Remove crontab file To restore all jobs : Code:
crontab < cronfile.dat This is a solution but after restoring process could crontab reschedule the tasks? Regards |
|
||||
|
Thanks for reply. After i restored tasks in crontab, tasks will be reloaded with same execution times, not different time right? And it might be really weird question but is there a way to set the execution times of crontab tasks automatically or cant we talk about automization when crontab is not alreadly in use?
|
![]() |
| Bookmarks |
| Tags |
| crontab, reschedule, suspend |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|