coming … more on the terror, the horror, it’s enzilla….. Not just a Nonprofit. Not just tax exempt. Not just for profit, but for the common good. It is the hybrid horror. How to get more pay with less taxes… it’s enzilla…. coming soon to your local corporate board room…
Category: enzilla
Q: Use CRON on PHP
Yes that’s possible, how you do it depends a little on your installation.
1. If you have php installed as CGI on your system you can ex. simply do:
0 10 * * * /path/to/php /path/to/script > /dev/null
2. If you dont have php installed as CGI you can use a unix console program for fetching URLs, we reccommend lynx or wget.
Example of using lynx:
0 10 * * * lynx -dump http://sample.com/script.php > /dev/null
Example of using wget:
0 10 * * * wget http://sample.com/script.php > /dev/null

You must be logged in to post a comment.