|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Please help me automate getmail with cron
Can someone show me how to use cron to run getmail every 5 minutes? I did it without errors but it does not work.
cssgalactic |
|
||||
to edit your crontab use:
% crontab -e An entry that runs every 5 minutes would look something like: Code:
*/5 * * * * /usr/local/bin/getmail Quote:
It might also help to tell us what exactly you did, so we can locate the error...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
||||
bare in mind that by default the output of a cronjobs command should get mailed to the user that owns it, pardoning the usual MAILTO rules noted in the manual page.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cron won't execute a perl script | ivanatora | FreeBSD General | 4 | 17th August 2008 07:53 AM |
cron newsyslog message | starbuck | FreeBSD General | 2 | 6th August 2008 07:33 PM |
Cron running but not working | stukov | Other BSD and UNIX/UNIX-like | 26 | 24th July 2008 01:17 PM |
Cronjob script does not run in cron | godfrank | FreeBSD General | 9 | 30th June 2008 12:41 AM |
Using sendmail in a cron job | erehwon | OpenBSD General | 6 | 15th May 2008 09:03 PM |