Cron.php ignorning command line args
From Adult Web Scripts Wiki
In some strange circumstances, zestoi's zestoi/bin/cron.php may be ignoring the arguments you pass to it, like cron.php -m webcams. This is due to the php being run being intended for a web server and not running from the command line, so won't process the args you need.
This is a workaround to that. If you want to run the webcams cron (which is no longer run as part of the main cron job after 1.2.0) save this code to zestoi/bin/cron_webcams.php:
<? $_GET['module'] = 'webcams'; include('cron.php'); ?>
and then change your webcams cron from:
*/5 * * * * cd /path/to/zestoi/bin && php cron.php -m webcams
To this:
*/5 * * * * cd /path/to/zestoi/bin && php cron_webcams.php
The same trick will work for other crons rssfeeder, sitemaps and videos. But these all run fine from the same/main cron and usually don't need running more often.
