FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: Evilsprouts on June 11, 2006, 10:25:47 AM

Title: Plesk Cron
Post by: Evilsprouts on June 11, 2006, 10:25:47 AM
How would I go about setting up a cron job in plesk to run a php page once a day? The things it's asking for is confusing me lol.

Thanks
Title: Re: Plesk Cron
Post by: admin on June 11, 2006, 01:15:15 PM
Just enter the time you wish the job to run and the path to the job.

(If you wish to have the system visit a page to execute one of your scripts, use the following:)
3 0 * * * /usr/bin/wget http://COMPLETE_URL_TO_VISIT -O/dev/null

This cron entry would load http://COMPLETE_URL_TO_VISIT at 12:03 AM every day
(In Plesk, the first 5 time settings would go into their proper fields.  The command field would then start with "/usr/bin/wget" and end after "/dev/null" in the example above)

Thank you,
FreePgs.com Admin