NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
DaMightyTom
Sep 13, 2009Aspirant
Crontab wont run my php jobs.
Im trying to run a crontab job on a PHP-file. it looks like this 0 * * * * /usr/bin/php -q /c/killboard/cron/cron_import.php the problem is that it wont run the job. If i go to the director...
chirpa
Sep 21, 2009Luminary
Works for me, using this:
$ cat /etc/cron.d/nabaztag
# weekdays, wake at 8am, sleep at 11:30pm
10 8 * * mon-fri root /root/nabaztag.php wake &>/dev/null
30 23 * * mon-fri root /root/nabaztag.php sleep &>/dev/null
$ head -n2 /root/nabaztag.php
#!/usr/bin/php
<?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!