3
votes
2answers
327 views

How do I write integration tests for cron jobs?

I have a series of cron jobs and I would like to test them in a more timely and automated way than the following: Test individual jobs in isolation by running them manually. Install job and update ...
3
votes
2answers
100 views

Testing application timing

We've developed an in-house application, with several related crons that execute at some time during the day. These crons are designed in such a way that they make sure that they ignore, for example, ...
8
votes
3answers
8k views

How can I test a new cron script?

I'm running on a couple of different Linux distros (Fedora 11, CentOS 5 and SuSE 10.2) and often run into a problem where a new script that I want to run as a cron job works fine when called direct ...