Anacron

by kiwii, Wednesday, May 08, 2013, 19:18 (4013 days ago)

hello,

i have a Simple Hosting on Gandi and i would like to use anacron to run update script.

I have tested :

# num@period delay(unused) name script...
#
# uncomment to purge files older than 7days in TMP
#1@daily 0 purgetmp find /srv/data/tmp -type f -mtime +7 -delete > /dev/null
#

#rss update
1@hourly 0 wget http://064289f931.url-de-test.ws/rss/update.php > /dev/null

but it does nothing ...

any ideas ?

thanks for your attention.

Anacron

by geniusmusing, Saturday, May 11, 2013, 02:16 (4011 days ago) @ kiwii

Try this

1@hourly 0 wget http://064289f931.url-de-test.ws/rss/update > /dev/null

There is no ".php" after the update.

Anacron

by kiwii, Saturday, May 11, 2013, 17:43 (4010 days ago) @ geniusmusing

I try but the server return this error :

/bin/sh: 1: http://kiwii.mm-dev.com/rss/update: not found

any idea ?

Anacron

by geniusmusing, Wednesday, May 15, 2013, 02:08 (4007 days ago) @ kiwii

I get "unallowed access" when I go to http://kiwii.mm-dev.com/rss/update

Check your permissions and that you have the .htaccess file in place.

Anacron

by kiwii, Wednesday, May 15, 2013, 12:18 (4006 days ago) @ geniusmusing

it's little bit complicated with my host to change .htaccess.
i have written a script to update feeds in one click without going to update url.

RSS Feed of thread
powered by my little forum