Join our Community      Check your private messages       Profile       Search       FAQ       Memberlist       Log in

Cron syntax

 
Post new topic   Reply to topic    NetHosted Community Index -> FTP/SQL Support
DavidBloor Reply with quote
 NetHosted Customer

 

 Joined: 02 Jan 2005
 Posts: 70
 

PostPosted: Thu Mar 02, 2006 9:01 am    Post subject: Cron syntax
 
i have a php script that backs up and email the compressed mysql db.

(http://www.markermart.co.uk/phpmysqlautobackup/run.php)

What is the correct syntax when creating the cron job, do i need the lynx command or can i just paste the url.

Also if you dont mind Andrew could you run the script when you get a moment to check its not crippling the server etc. I intend to run the backup a 3 am once a day if thats ok.

Thanks!
Back to top
View user's profile Send private message
NetHosted - Andrew Reply with quote
 NetHosted Staff

 

 Joined: 22 Mar 2004
 Posts: 5625
 

PostPosted: Thu Mar 02, 2006 9:53 am    Post subject:
 
You should use the form:

lynx -source http://www.markermart.co.uk/phpmysqlautobackup/run.php 

I just ran that but nothing happened apart from it printing out:

Code:

<!-- Top menu links -->


Andrew

_________________
| Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think  of NetHosted!
Back to top
View user's profile Send private message
DavidBloor Reply with quote
 NetHosted Customer

 

 Joined: 02 Jan 2005
 Posts: 70
 

PostPosted: Thu Mar 02, 2006 10:25 am    Post subject:
 
I did work I got the email with the backup, thanks!!
Back to top
View user's profile Send private message
Post new topic   Reply to topic    NetHosted Community Index -> FTP/SQL Support
Page 1 of 1

User Permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

 
Jump to: