|Keep It Simple, Stupid|
Ok, i'm not a specialist and I still need to write my tests for my (big) Perl programs. Tests are generally included while writing a module and if you add one test you check it with make test
Modules are easier to test (in respect to lonely scripts) because they export functionalities. Imagine an interactive program: it will need lot of headaches with IPC::Open3 or similar to test it.
Anyway i've not so much experience but i collected some intersting links about testing:
PS the cronjob idea seems to me not so.. adequate.
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.