apache - How to properly require a cron job once per hour? -


i looking command execute php script point once per hour. tried searching myself articles read seemed old , code didn't work.

do have directory called /etc/cron.hourly? if so, create new file inside folder, containing this:

#!/bin/sh /path/to/php /path/to/your/script.php 

then make file executable.


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -