Forums

How To Setup Cron Job To Run .php File (2 posts)

  1. Louno
    Member
    Posted 3 years ago #

    Hi,
    I installed a plugin that require me to setup a cron job.
    They dont give instructions as the plugin is in beta, but they assume that we know how to do this...

    I am trying to figure how to start the cron job,
    I use cpanel...

    What is the cron command i need to use in order to get automate.php to run every 3 minutes ?

    i tried :
    */3 * * * * /usr/local/bin/php -q /home/user/public_html/video/wp-content/plugins/automate.php

    and it doesnt work...

    Thanks

  2. hategrinder
    Member
    Posted 3 years ago #

    what is the -q option for? try without it and first check the output of the command you're trying to schedule (/usr to php in this case) and if it is ok cron should work

Topic Closed

This topic has been closed to new replies.

About this Topic