Page 1 of 1
CronJob Plug in
Posted: Wed Jan 03, 2007 4:51 am
by dahoove
Newbie needs help getting the cronjob plug in work with the Popfetcher plug in. I have Popfetcher working on my 1.1 version of Serendipity blog which is being hosted on a Go Daddy linux server. I think I have the CronJob plug in installed properly but have no clue on how to config it. What I want is for job to run the Popfetcher external link every 2 or 3 hours. The way the Popfetcher doc describes it is
*/30 * * * * /usr/local/bin/lynx -dump
http://www.myblog.com/serendipity/index ... ECRET_WORD >> /htdocs/serendipity/uploads/0000log.txt 2>&1
Where do I put this?
Thanks in advance.
Re: CronJob Plug in
Posted: Wed Jan 03, 2007 5:23 pm
by garvinhicking
Hi!
Once the cronjob plugin is installed you should be able to configure the popfetcher plugin and there set on which periodic schedule that plugin should be executed. Do you see that config option?
The cronjob plugin is not as flexible as real cronjobs are, because technically that's not possible.
Best regardss
Garvin
Posted: Wed Jan 03, 2007 7:22 pm
by dahoove
I don't know how I missed that. Guess the wife is correct when she says I'm blind as a bat sometimes.
Thanks
correct line for crontab
Posted: Sun Feb 24, 2008 10:46 pm
by ax11
Code: Select all
5 * * * * /usr/bin/wget -O /dev/null http://blog.ax11.de/index.php?serendipity[cronjob]=all>/dev/null 2>&1
will work on Linux systems. (Check, if wget is installed!) The original script misses an asterisk, which will cause crontab -e to fail, doesn't contain the right path for wget, which is awful and will send an email anytime it finishes, which is annoying.
Update: Mine was not much better

Please notice the "-O /dev/null" after "wget" that was missing.