Share » Forums » Developer » runcronjobs - crontab

runcronjobs - crontab

runcronjobs - crontab

Thursday 27 January 2011 11:23:00 am - 3 replies

Modified on Thursday 27 January 2011 11:24:13 am by Lo' F.

Author Message

Romeo Antony

Friday 28 January 2011 12:53:42 am

Try the following Lo'F

1.Run with your site access.

0 0 * * * cd $EZPUBLISHROOT && $PHP runcronjobs.php -q googlesitemaps -s yoursiteaccess 2>&1

2. Check php location? Is it exactly there??

PHP=/usr/bin/php

3.

Restart cron daemon

/etc/init.d/crond restart

Lo' F.

Friday 28 January 2011 9:36:44 am

Hi Romeo, thanks a lot for your reply.

I got the php location by launching the command from the shell:

# which php
/usr/bin/php

Tried to restart cron daemon, but the sitemap doesn't update itself at the set interval of time, yet.

(set to run every 5 minutes while testing it)

5,10,15,20,25,30,35,40,45,50,55 * * * * cd $EZPUBLISHROOT && $PHP runcronjobs.php -q -s ita googlesitemaps 2>&1

...

What's wrong?!

loredanaebook.it

Lo' F.

Tuesday 01 February 2011 2:09:02 pm

Any hint would be highly appreciated!..

Thanks a loooot!

loredanaebook.it

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu