cronjob parts and "crons"

Author Message

Brendan Pike

Wednesday 20 October 2004 11:28:54 pm

I've noticed on a host I'm using that cronjobs won't run if I include cron parts in the startment like this:

This one works from command line but not in a cron.

53 * * * * cd /var/www/website; /usr/local/bin/php runcronjobs.php hourly

But this one does work from cron

53 * * * * cd /var/www/website; /usr/local/bin/php runcronjobs.php

What is the correct formating I can use to get around this?

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.