testing a cron job

testing a cron job

Posted by: jstegall
Posted on: 2007-11-10 19:18:00

Hello,

I have created a cron job for my Rails application, that will build an index for the search functionality every hour. I set up the cron through the Goodies panel, and everything seemed to work properly. But is there a way I can test this, to ensure that it is running?

Thanks
Jonathan

Re: testing a cron job

Posted by: monkeyboy7706
Posted on: 2007-11-11 11:35:00

What I usually do is put what I want the cron to be in a script file on the server and call that from cron. This allows you to execute the script directly to see if it works.

Tags: cron jobsearch functionalitygoodies