PDA

View Full Version : Cron job question


haasje
09-14-2007, 04:34 AM
Hello,
what I want is this;a cron job dat checks/executes every 5 minutes a link like this http/www.haasjes.org/dada/plugins/dada_bridge.pl run=1

I did 0,5,10,15,20,25,30,35,40,45,50,55 * * * * get http://www.haasjes.org/dada/plugins/dada_bridge.pl run=1

But that doesn't work,crontab accepts it but it does not work.

Anybody a solution?
I have no root acces so I can't use curl.

Thanks in advance,
Paul

siguie
09-15-2007, 04:44 AM
Either run it as a perl script like ...

perl /home/domain/dada_bridge.pl

or use something like ...

wget -q -O /dev/null http/www.haasjes.org/dada/plugins/dada_bridge.pl run=1

Though I'd be kinda surprised if the " null=1" works ... are you trying to pass a variable?

haasje
09-17-2007, 05:52 AM
I will try the cron solution as soon as I can.
thanks again,
Paul