![]() |
|
|
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 |
| How to restart CRON file? | biot | UNIX for Dummies Questions & Answers | 1 | 03-31-2008 09:19 AM |
| File Descriptors + cron | matrixmadhan | UNIX for Advanced & Expert Users | 7 | 05-23-2007 02:53 PM |
| cron job to run php file | christo16 | UNIX for Dummies Questions & Answers | 3 | 03-01-2007 11:55 AM |
| cron not deleting file | baanprog | UNIX for Dummies Questions & Answers | 1 | 05-23-2006 10:08 AM |
| Viewing the cron file | rinku11 | Shell Programming and Scripting | 2 | 02-24-2006 06:49 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Help with cron file
Hi everyone,
I need some help from the unix skills here to make sure I have a cron file correct. It should: run the following php scripts at intervals: cron.php every 15 minutes cron_bounce.php every 12 hrs cron_responder.php every 60 minutes cron_pop.php every 30-60 minutes my cron file looks like this and I think it might have some mistakes: ============ #!/usr/local/lib/php -q 15,30,45,59 * * * * /www/htdocs/12all/admin/cron.php 0 0,12 * * * /www/htdocs/12all/admin/cron_bounce.php 0 0-23 * * * /www/htdocs/12all/admin/cron_responder.php 0,30 * * * * /www/htdocs/12all/admin/cron_pop.php ==================== Does it look right, or how should it look? Thanks for the help. |
|
|||||
|
Jluyt,
Although Indo1144's example will work fine with the OS being used on his/her computer, it may not on yours (which is why you should state the OS and version you are using in all questions). Check your man pages for cron or crontab that the 'steps' can be used (where indo1144 used /15 for every 15 minutes). |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|