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 - Feed FileReader from server side files -

How to Change swipe Tab Title color in java Android -

c# - Flexcodesdk Picturerbox dispose causing the picturebox invisible -