![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cron question | moe2266 | Shell Programming and Scripting | 4 | 11-19-2007 02:08 AM |
| cron question | moe2266 | Shell Programming and Scripting | 4 | 08-20-2007 04:09 PM |
| question about cron | hcclnoodles | UNIX for Dummies Questions & Answers | 1 | 12-08-2006 09:02 AM |
| CRON Question | DenD | AIX | 2 | 01-17-2006 01:59 PM |
| cron question | ted | Shell Programming and Scripting | 2 | 08-02-2004 05:13 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi dannyd,
Basically, just ensure that your script is executable first then place it in crontab. eg. my script name is dailyreboot.sh Edit crontab and specify running timing with your script name # crontab -e Editing mode, insert like # to reboot server everyday 00 03 * * * /root/adm/bin/dailyreboot.sh 2&1> /dev/null To save and exit :wq! You can check in your cron log, whether it get executed on specified time... Hope this will help. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|