evertsemeijn

Topic: Cronjob not working

It looks like the cronjob is not working on my site. Is there anything I can do to see the output of the cronjob to see if it's runing and if there are errors (or succes)? Really need this to work so help will be appreciated!

Member of Jobberbase Development Team - Templates/Usability

:: Looking for a jobboard installation and/or custom design? ::

Chronos

Re: Cronjob not working

Usually there is a setting at the panel where you set the cronjob that mails you the output. By default this would be blank though (since it just runs queries), but adding a simple echo '1'; would work to see if it at least loaded completely.

On second thought, I do remember there are problems with the cronjob, as the config file of JobberBase (and other files) use server variables.. which aren't available when run via the PHP console as cronjobs usually do. I solved that issue by making the file stand-alone, with its own settings, database connection etc.

Are there people that use the regular cron_maintenance.php successfuly with the unix php-based aproach?

Member of Jobberbase Development Team - Implementation and Coding

Visit my Blog: ChronoScripts (JobberBase scripts, support and freelance)
JobBoards: Telefonisch Werk and Top Bijbaan

evertsemeijn

Re: Cronjob not working

Thanks Chronos,

there is no crontab on my server. Have contacted host, but they haven't implemented that yet (but they can active it for me. I just have to e-mail them). Like to know if and how people managed to get the cronjob to run successfully.

Member of Jobberbase Development Team - Templates/Usability

:: Looking for a jobboard installation and/or custom design? ::

Chronos

Re: Cronjob not working

If you have access to a server/pc that is on 24/7, you can set a scheduled job that loads the .php page in the browser and then closes it again (a vbscript or so would do the trick nicely). Even more simple would be to adjust the page with a bit of javascript to refresh every x hours and simply leave the browser window open.

Last edited by Chronos (2009-02-11 19:43:27)

Member of Jobberbase Development Team - Implementation and Coding

Visit my Blog: ChronoScripts (JobberBase scripts, support and freelance)
JobBoards: Telefonisch Werk and Top Bijbaan

testgigs

Re: Cronjob not working

Founds a firefox cron job plugin.. might work

http://istylr.com/CronZilla/

www.gigajobs.com.au / Aussie IT Jobs