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!

  1. system -> scheduled cron jobs
  2. click create new scheduled cron job.
  3. in command box enter /usr/bin/php -q /var/www/path/to/your_php_script.php
  4. click "times , dates selected below .." radio button
  5. click "selected.." under minutes section
  6. select 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55 (use control key) , click 'save' button.

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -