Tuesday 23 June 2009 6:07:50 pm
The answer may seem too obvious to some, but it was new to me. I had heard about setting up the cron scripts, and even had mine all done, as directed in one of the online documentation pages. But I didn't know I had to also add ezflow into my crontab. I finally figured this out by tracing back from the eZFlowOperations.update() method to find out when and where it should be called. So I have this in my crontab now, for future reference for anyone else that may need it. I couldn't find any reference to it in the eZ Flow setup guide, and only vague references in the forums and online documentation.
# The path to the eZ Publish directory
EZPUBLISH_HOME=/path/to/ezpublish
# The location of the PHP command-line interface binary
PHPCLI=/usr/bin/php
# Other cron jobs omitted...
# Instruct cron to run the eZ Flow Update cronjob every minute
* * * * * cd $EZPUBLISH_HOME && $PHPCLI runcronjobs.php -q ezflow 2>&1
|