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

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

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