4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Need help with cron jobs if possible
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
cobra
Junior WebHelper
Junior WebHelper


Joined: 15 May 2003
Posts: 1
Location: uk

PostPosted: Thu May 15, 2003 2:02 pm (20 years, 11 months ago) Reply with QuoteBack to Top

Hi
I am currently installing a php script and I have done many with no hassle but I have never done cron jobs and would like to know how to put the script in.
the web host company allows cron jobs and has the places to put the hours and things similar to this

box box box box box command box
the script is

Code:
* * * * * /PATH/TO/lynx --dump http://PUT_YOUR_DOMAIN_NAME_HERE/scripts/admin/cronjobs.php  > /dev/null


I know about the stars but what I don't know is /path/to/lunx--dump
as I have not got a php page called lynx or know in which directory this should be.

I hope someone can point me in the right direction, I have looked at the cron job tutorial on the hosting company and it says to do something like this :
Code:
* * * * * GET http://PUT_YOUR_DOMAIN_NAME_HERE/scripts/admin/cronjobs.php

but I don't think this is right as pathtolynx has not been used.

Thanks
Gareth

Mod Edit: Post assigned to "cobra"
OfflineView User's ProfileFind all posts by cobraSend Personal MessageVisit Poster's Website
jayant
Team Member



Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India

PostPosted: Thu May 15, 2003 2:39 pm (20 years, 11 months ago) Reply with QuoteBack to Top

lynx is a text browser.

try '/usr/bin/lynx' , '/usr/sbin/lynx' or simply 'lynx'

/usr/bin/lynx --dump http://something/cron.php > /dev/null
/usr/sbin/lynx --dump http://something/cron.php > /dev/null
lynx --dump http://something/cron.php > /dev/null

one of these should work

Request: Next time please post in appropriate forum

________________________________
Jayant Kumar
Member of the 4WebHelp Team
Nibble Guru - Computing Queries Demystified
GZip/ Page Compression Test
OfflineView User's ProfileFind all posts by jayantSend Personal MessageVisit Poster's WebsiteYahoo MessengerMSN Messenger
drathbun
WebHelper
WebHelper


Joined: 01 Mar 2003
Posts: 69
Location: Texas

PostPosted: Thu May 15, 2003 2:40 pm (20 years, 11 months ago) Reply with QuoteBack to Top

jayant wrote:
Request: Next time please post in appropriate forum

But guests can only post in one area, correct? I suspect that's why the post was where it was...

Dave

________________________________
Dave
Photography Site :: Query Tools Forum :: Weekend Fun
OfflineView User's ProfileFind all posts by drathbunSend Personal MessageVisit Poster's Website
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Thu May 15, 2003 6:24 pm (20 years, 11 months ago) Reply with QuoteBack to Top

Don't know where my post disappeared, but I wanted to explain the use of the "Our Site" forum:
  • It is not meant for unregistered users who simply cannot be bothered to register.
  • It is meant for registered/unregistered users posting bugs or suggestions about our site.

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




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.


Page generation time: 0.130065 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme