2

Crontab not working

view story
linux-howto

http://www.linuxforums.org – I've created a crontab to run a php script (daemon) at boot. crontab -l: Code: (at)reboot /usr/bin/php-cgi /var/backbone/fork_sema.php 2>&1 > /dev/null (at)reboot export EDITOR="vi" When I run the command as root it works. I've added "#!/usr/bin/php-cgi -q" to the beginning of the file. I've also tried to putting "root" before the command, which I've now removed. The command is executed at boot, but the script is not running. The second command doesn't work either. Any suggestions? Thanks.. (HowTos)