Cron job to get URL for Dada Bridge mailing lists

 
Post new topic   Reply to topic    34SP.com Forum Index // Email Support
View previous topic :: View next topic  
Author Message
interacDiV
34SP Newbie
34SP Newbie


Joined: 20 Mar 2002
Posts: 3

PostPosted: Fri Sep 06, 2013 11:27 am    Post subject: Cron job to get URL for Dada Bridge mailing lists Reply with quote
Hi
I'm using Dada Bridge to run a discussion list. It uses a perl script to check for new messages to distribute. I can call this script manually from a browser and it works, but I need to set up a cron job to automate it.

The documentation for Dada Bridge assumes you will have the curl binary on your web host at usr/bin but it isn't there on my 34sp account. Neither is wget.

Can anyone suggest another way to do this? I've tried calling the script locally using perl <path to script> but I just get an error saying perl can't find the script.

I'm more of a windows guy so I'm not all that familiar with this stuff. I don't want to resort to setting up a scheduled task on a windows box to call the URL every 5 mins

Thanks
Back to top
View user's profile Send private message Visit poster's website
philr
Super Member
Super Member


Joined: 05 Nov 2003
Posts: 990
Location: Exeter

PostPosted: Fri Sep 06, 2013 12:30 pm    Post subject: Reply with quote
It's probably there somewhere. Try /usr/local/bin/curl
_________________
Phil Ronan
フィリップ・ローナン
Back to top
View user's profile Send private message Visit poster's website
interacDiV
34SP Newbie
34SP Newbie


Joined: 20 Mar 2002
Posts: 3

PostPosted: Fri Sep 06, 2013 1:49 pm    Post subject: Reply with quote
Hi
Thanks for your reply. I don't have a local folder under usr.

I've had a good look around and can't find curl or wget anywhere.
Back to top
View user's profile Send private message Visit poster's website
philr
Super Member
Super Member


Joined: 05 Nov 2003
Posts: 990
Location: Exeter

PostPosted: Sat Sep 07, 2013 8:00 pm    Post subject: Reply with quote
Sounds like you're running on a virtual server, in which case you should be able to install curl quite easily.

I'm pretty sure the shared hosting servers all have curl preinstalled. They also have lynx, which is another thing you could use (search this forum for examples).
_________________
Phil Ronan
フィリップ・ローナン
Back to top
View user's profile Send private message Visit poster's website
interacDiV
34SP Newbie
34SP Newbie


Joined: 20 Mar 2002
Posts: 3

PostPosted: Sat Sep 07, 2013 8:39 pm    Post subject: Reply with quote
Thanks for your help. Helpdesk added curl to my list of commands and the sample code from the documentation works like a treat.
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    34SP.com Forum Index // Email Support All times are GMT
Page 1 of 1

 
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
Powered by phpBB © 2001, 2002 phpBB Group