|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Help with cron
I am running a cron job where i need my php scripts to update my crontab file. But after updating the file i cant execute the crontab command from php. I need to do this otherwise the cron will still be running the old contents of the file. I've tried using system(), shell_exec(), exec() but they don't seem to work. Nothing happens, the old crontab is still running. I know system() works because i've done system(ping www.....com) and it works. Hope someone can help!
|
|
#2
|
|||
|
|||
|
RE: Help with cron
Are you specifying the full path to crontab? (/usr/bin/crontab) and the full path to your cron file?
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Help with cron |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|