Thursday 22 April 2010 4:54:21 pm
I'm upgrading to 4.2 from 3.8. I'm trying to move some custom crontabs and I can't get them to run! I've created a settings/override/crontab.ini.append.php, created a directory within extensions and moved the script there. I've then tried to run runcrontabs.php from the command line and get the following:
myserver>>: /sysmanage/data/www/ezpublish-4.2.0# $PHPCLI runcronjobs.php -dall exportcsv
Running cronjob part 'exportcsv'
#################################### DEBUG ####################################
Debug: (eZMySQLDB::query(0.000 ms) query number per page:0)
SET NAMES 'utf8'
No timing points defined
Peak memory usage: 6,120.4297 KB
Group ini_load:
Load cache: 0.0047 sec (7.7304%), 0.0012 avg sec (4)
FindInputFiles: 0.0016 sec (2.6515%), 0.0004 avg sec (4)
Group Mysql Total:
Mysql_queries: 0.0007 sec (1.1935%), 0.0002 avg sec (3) Total script time: 0.0603 sec If I run the command with an invalid name for the override section it complains: Notice: No scripts found for execution. If I put an invalid script name in the crontab.ini.append.php it runs with no messages. So from the above it appears to be finding the override files, but for some reason the script appears to be ignored.Has anyone got any ideas? Here's the cronjob part in question:
[CronjobPart-exportcsv]
ExtensionDirectories[]=exportcsv
Scripts[]=exportcsv.php Cheers, Cliff
|