How to make a minutely cronjob on debian?
Can someone help me?
The "action" should be "php /var/www/cronjob/index.php"
i have no idea!
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityHow to make a minutely cronjob on debian?
Can someone help me?
The "action" should be "php /var/www/cronjob/index.php"
i have no idea!
*/N * * * * /path_to_php/php /var/www/cronjob/index.php
N - number of minutes. and you may need to specify full path to php (/usr/local/bin/php
or whatewer)
* * * * * php /var/www/cronjob/index.php
1: * = every minute
2: * = every hour
3: * = every day of month
4: * = every month
5: * = every day of week