"SKIPPED: postgresql-52896-" Can anyone tell me where this message is coming from and what it means? It appears every night at 20:05. It's generated in the "-*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1" which is automatically installed in crontab but I can't trace though to find its source. After that line in crontab, I have MAILTO="" which stops the jobs I've added from telling me they've fired off but I'd like to keep the 'standard installation' as-is. TIA John
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2006-10-28 at 13:51 +0100, John wrote:
"SKIPPED: postgresql-52896-"
Can anyone tell me where this message is coming from and what it means? It appears every night at 20:05.
It's generated in the "-*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1" which is automatically installed in crontab but I can't trace though to find its source.
You should only get those emails in case of errors. The file "/usr/lib/cron/run-crons" is the script responsible for this. Configuration file is "/etc/sysconfig/cron". Notice that if MAILTO is left undefined, it is sent to root instead. Have a look at the "/etc/cron.daily/" directory. My guess is that you will find there a file named "postgresql-52896-" that is not executable and is thus firing the message you see, ie, file being skipped from the daily run-cron tasks. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFQ2jBtTMYHG2NR9URArbzAJ9XJ/CbPcE7oIaQlJKqrrVmEDxZmACfW1JK PiGZzR9hGHdTjEsanyhmY6Q= =EYUF -----END PGP SIGNATURE-----
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Saturday 2006-10-28 at 13:51 +0100, John wrote:
"SKIPPED: postgresql-52896-"
Can anyone tell me where this message is coming from and what it means? It appears every night at 20:05.
It's generated in the "-*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1" which is automatically installed in crontab but I can't trace though to find its source.
You should only get those emails in case of errors. The file "/usr/lib/cron/run-crons" is the script responsible for this. Configuration file is "/etc/sysconfig/cron".
Notice that if MAILTO is left undefined, it is sent to root instead.
mailto ="" is after this command; seel listing below
Have a look at the "/etc/cron.daily/" directory. My guess is that you will find there a file named "postgresql-52896-" that is not executable and is thus firing the message you see, ie, file being skipped from the daily run-cron tasks.
- -- Cheers, Carlos E. R.
I've searched the cron files for such a file but can not find it, see below. General:/etc # dir cron* -rw------- 1 root root 11 Sep 9 2005 cron.deny -rw-r--r-- 1 root root 516 Aug 25 14:52 crontab cron.d: total 11 drwxr-xr-x 2 root root 88 Nov 4 2005 . drwxr-xr-x 77 root root 7040 Oct 27 20:05 .. -rw-r--r-- 1 root root 34 Oct 21 22:41 yast2-online-update cron.daily: total 55 drwxr-xr-x 2 root root 384 Oct 19 2005 . drwxr-xr-x 77 root root 7040 Oct 27 20:05 .. -rwxr-xr-x 1 root root 393 Sep 9 2005 logrotate -rwx------ 1 root root 948 Sep 13 2005 suse-clean_catman -rwx------ 1 root root 1196 Sep 13 2005 suse-do_mandb -rwxr-xr-x 1 root root 12488 Sep 13 2005 suse-faxcron -rwxr-xr-x 1 root root 1875 Sep 1 2003 suse.de-backup-rc.config -rwxr-xr-x 1 root root 2059 Sep 8 2003 suse.de-backup-rpmdb -rwxr-xr-x 1 root root 566 Jul 23 2004 suse.de-check-battery -rwxr-xr-x 1 root root 1320 Jul 27 2005 suse.de-clean-tmp -rwxr-xr-x 1 root root 371 Sep 1 2003 suse.de-cron-local cron.hourly: total 7 drwxr-xr-x 2 root root 48 Sep 9 2005 . drwxr-xr-x 77 root root 7040 Oct 27 20:05 .. cron.monthly: total 7 drwxr-xr-x 2 root root 48 Sep 9 2005 . drwxr-xr-x 77 root root 7040 Oct 27 20:05 .. cron.weekly: total 11 drwxr-xr-x 2 root root 72 Oct 19 2005 . drwxr-xr-x 77 root root 7040 Oct 27 20:05 .. -rwxr-xr-x 1 root root 278 Sep 9 2005 wwwoffle General:/etc # Also, the find command fails on this: General:/etc # find / -name "*postgresql-52896-*" find: /media/floppy: No medium found General:/etc # as does grep: General:/etc # grep -r -i 'postgresql-52896' cron* General:/etc # JFI, here's crontab too; the 'offending line' is correctly covered by a mail to root but all else sends no mail. I had to put the mailto="" in to stop fetchmail writing every time it woke up! SHELL=/bin/sh PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin MAILTO=root # # check scripts in cron.hourly, cron.daily, cron.weekly, and cron.monthly # -*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1 MAILTO="" # # ensure that the 990 printer gets a good night's sleep # 30 20 * * * root /usr/bin/disable 990 -r "Sleep" 00 09 * * * root /usr/bin/enable 990 -r "back to work" # # poll demon mailbox # 00,30 * * * * root fetchmail -f /home/John/.fetchmailrc Where else can I look for this? J
participants (2)
-
Carlos E. R.
-
John