php - Setting up a cron job with Webmin -
i trying setup cron job using webmin run every 5 min. needs target .php file , run php script in file. when enter path file in "command" field, doesn't work. wondering doing wrong, , put file path need cron job run.
thanks!
system -> scheduled cron jobs
click create new scheduled cron job
.in command box enter /usr/bin/php -q /var/www/path/to/your_php_script.php
click "times , dates selected below .." radio button
click "selected.." under minutes section
select 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55 (use control key) , click 'save' button
.
Comments
Post a Comment