-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13/02/2020 17.09, Dave Howorth wrote:
On Thu, 13 Feb 2020 15:26:40 +0200 ellanios82 <> wrote:
what am i doing wrong?? : Why zero output from cron??
Well cron jobs don't usually produce any output, because they're designed not to. So you probably need to explain exactly what you're doing and exactly what output you are expecting/used to get.
Yes they do, specially since systemd.
<10.6> 2020-02-13 19:00:01 Telcontar cron 10631 - - pam_unix(crond:session): session opened for user cer by (uid=0) <3.6> 2020-02-13 19:00:01 Telcontar dbus-daemon 1449 - - [system] Successfully activated service 'org.opensuse.Snapper' <10.6> 2020-02-13 19:00:01 Telcontar cron 10632 - - pam_unix(crond:session): session opened for user cer by (uid=0) <9.6> 2020-02-13 19:00:01 Telcontar CRON 10681 - - (cer) CMD (/home/cer/bin/dar_la_hora_en_cron hora) <10.6> 2020-02-13 19:00:02 Telcontar CRON 10631 - - pam_unix(crond:session): session closed for user cer <10.6> 2020-02-13 19:00:06 Telcontar CRON 10632 - - pam_unix(crond:session): session closed for user cer That's six lines of output for a job of mine (it speaks the hour). Another job: <9.6> 2020-02-13 18:20:01 Telcontar CRON 8946 - - (root) CMD ([ -x /usr/lib64/sa/sa1 ] && exec /usr/lib64/sa/sa1 1 1) <10.6> 2020-02-13 18:20:01 Telcontar cron 8944 - - pam_unix(crond:session): session opened for user cer by (uid=0) <10.6> 2020-02-13 18:20:01 Telcontar CRON 8944 - - pam_unix(crond:session): session closed for user cer Weekly jobs: <9.6> 2020-02-06 21:30:01 Telcontar CRON 5102 - - (root) CMD ([ -x /usr/lib64/sa/sa1 ] && exec /usr/lib64/sa/sa1 1 1) <10.6> 2020-02-06 21:30:01 Telcontar cron 5100 - - pam_unix(crond:session): session opened for user cer by (uid=0) <9.6> 2020-02-06 21:30:01 Telcontar CRON 5119 - - (cer) CMD (/home/cer/bin/dar_la_hora_en_cron hora) <3.6> 2020-02-06 21:30:01 Telcontar systemd 1 - - Stopping Name Service Cache Daemon... <3.6> 2020-02-06 21:30:01 Telcontar systemd 1 - - Stopped Name Service Cache Daemon. <3.6> 2020-02-06 21:30:01 Telcontar systemd 1 - - Starting Name Service Cache Daemon... <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring file `/etc/passwd` (1) <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring directory `/etc` (2) <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring file `/etc/group` (3) <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring directory `/etc` (2) <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring file `/etc/hosts` (4) <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring directory `/etc` (2) <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring file `/etc/resolv.conf` (5) <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring directory `/etc` (2) <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring file `/etc/services` (6) <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring directory `/etc` (2) <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring file `/etc/netgroup` (7) <3.5> 2020-02-06 21:30:01 Telcontar nscd - - - 5164 monitoring directory `/etc` (2) <3.6> 2020-02-06 21:30:01 Telcontar systemd 1 - - Started Name Service Cache Daemon. <1.6> 2020-02-06 21:30:01 Telcontar run-crons 5103 - - mine-nscd: OK <9.6> 2020-02-06 21:30:01 Telcontar run-crons.weekly - - - Considering my weekly cron jobs. <1.6> 2020-02-06 21:30:01 Telcontar run-crons 5103 - - mio.weekly: OK <10.6> 2020-02-06 21:30:06 Telcontar CRON 5100 - - pam_unix(crond:session): session closed for user cer <9.6> 2020-02-06 21:40:01 Telcontar CRON 5573 - - (root) CMD ([ -x /usr/lib64/sa/sa1 ] && exec /usr/lib64/sa/sa1 1 1) <10.6> 2020-02-06 21:40:01 Telcontar cron 5570 - - pam_unix(crond:session): session opened for user cer by (uid=0) <10.6> 2020-02-06 21:40:01 Telcontar CRON 5570 - - pam_unix(crond:session): session closed for user cer <9.6> 2020-02-06 21:50:01 Telcontar CRON 5998 - - (root) CMD ([ -x /usr/lib64/sa/sa1 ] && exec /usr/lib64/sa/sa1 1 1) <9.6> 2020-02-06 22:00:01 Telcontar CRON 6344 - - (root) CMD ([ -x /usr/lib64/sa/sa1 ] && exec /usr/lib64/sa/sa1 1 1) In ellanios case he has to find older entries, and show them here, then find out when they disappear. - -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXkWUWQAKCRC1MxgcbY1H 1aWsAJ4tioCsaKJyJ7v/hnLLPftswUhcvACaA2POx1Q+w9+vxTVlzpUGCsMCg+g= =XYQe -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org