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

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -