Hi everyone,
Is there a way of showing text on cron.php (to indicate that cron has run successfully)? This would be ideal for my client who uses cron.php to send his newsletters out instead of just serving him up a blank page.
I tried adding to cron.php but nothing shows.
Cheers,
Garry.
That's not cron
That's not really how cron should be used, as it is intended to run as a regular background process on the server, taking care of regular maintenance tasks, clean-up, sending out emails, etc. If you are looking at implementing an interface for performing the email sending operation you could look at something like the Batch API, which is great for performing batch operations such as this, and providing feedback on job completion.
Module
Create your own module, add your own hook_cron function...
http://api.drupal.org/api/function/hook_cron
Write your messages using watchdog..
http://api.drupal.org/api/function/watchdog/6
Set up crontab on your server...
http://www.crontabrocks.org/
KH