FreePgs.com Forum
September 22, 2021, 04:34:12 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The "Support Requests" forum is now viewable by guests.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Plesk Cron  (Read 2550 times)
Evilsprouts
Verified Account
Full Member
*

Karma: +1/-0
Offline Offline

Posts: 243


Blog entries (0)

View Profile WWW
« on: June 11, 2006, 06: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
Logged
admin
Administrator
Hero Member
*****

Karma: +30/-2
Offline Offline

Posts: 1567

Blog entries (0)

View Profile
« Reply #1 on: June 11, 2006, 09:15:15 AM »

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
Logged
FreePgs.com Forum
« Reply #1 on: June 11, 2006, 09:15:15 AM »

 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!