Problem setting Cron job using lynx

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
umitkhanna
Forum Newbie
Posts: 2
Joined: Thu Jul 08, 2004 1:43 am

Problem setting Cron job using lynx

Post by umitkhanna »

hi,
I am trying to set cron job by using lynx method but nothing is happening.
I want to run my php script after each 1 minute.
I am using the followin settings.

1**** lynx --dump http://www.hostingskulls.com/aa/umit/ne ... ittest.php

so pls help me.
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

If the file is on the same server then you would be best off just calling it with "php my/php/file.php". If its not, then maybe something like wget or curl would be easier to use.
umitkhanna
Forum Newbie
Posts: 2
Joined: Thu Jul 08, 2004 1:43 am

Thanks for your kind suggestions........

Post by umitkhanna »

hi,
Thanks for yr nice suggestions finally i have got the solution and now it is working properly i have used

0**** lynx --dump http://www.hostingskulls.com/aa/umit/ne ... ittest.php
for running it on a interval of 1 minute and similarly

*/10 * * * * lynx --dump http://www.hostingskulls.com/aa/umit/ne ... ittest.php
for running it on a interval of 10 minutes.

Again thanks for ur kind suggestions.
Post Reply