Forums / Setup & design / debugging cronjobs

debugging cronjobs

Author Message

nigel dodd

Wednesday 15 December 2004 5:13:06 am

I can't seem to run cronjobs to publish a new guestbook entry in the tscm example.
I have set up the workflow and trigger according to the tscm documentation http://www.ez.no/ez_publish/documentation/building_an_ez_publish_site/the_guestbook/creating_a_workflow
When the frontend creates a new guestbook entry it appears correctly in the personal/collaboration section of the backend and, when I approve it it goes away.

At this point I should be able to runcronjobs and have it appear in the frontend. I can't run cronjobs on the command line because I run Windows and php is compiled for Apache so I use the addition to index.php given in http://www.ez.no/ez_publish/documentation/configuration/configuration/cron_jobs
and use the enhanced version that runs only every 2 hours (or 1 minute in my case). The ezfilternotify_last_runtime file appears with the correct time stamp indicating that this section of code was indeed run.

The problem is that I don't get any error messages and neither do I get the entries appearing in the Guestbook.

Is there a way to debug the whole runcronjobs process, printing out diagnostic messages? How can I be sure that the runconjobs is running correctly?