* David T-G <davidtg-robot@justpickone.org> [09-29-20 08:06]:
Hi, all --
I'm stuck; it's time to come to the experts for help :-) I have a 15.1 live system
jpo:~ # cat /etc/SUSE-brand openSUSE VERSION = 15.1
jpo:~ # df -kh / /dev/sdi[13] Filesystem Size Used Avail Use% Mounted on LiveOS_rootfs 14G 5.5G 7.3G 44% / /dev/sdi1 912M 912M 0 100% /run/initramfs/live /dev/sdi3 14G 5.5G 7.3G 44% /run/overlayfs
that will eventually be a little server, and cron mysteriously only likes certain jobs. My (root) crontab looks like this:
jpo:~ # crontab -l #mi hr dm mo dw cmd... # # is cron running? 01 * * * * date >$HOME/.cron.out # nightly cleanup/checkup 04 04 * * * /usr/local/bin/nightly.cleanup # cron tests 41 11 29 09 * /root/tmp-touch-root 41 11 29 09 * /usr/local/bin/tmp-touch-local 41 11 29 09 * /mnt/Raid1md/tmp-touch-Raid1
It quite happily runs the hourly heartbeat and the nightly cleanup
jpo:~ # ls -l ~/.cron.out /mnt/Raid1md/cleanup/.find-print -rw-rw---- 1 root root 625767441 Sep 27 05:53 /mnt/Raid1md/cleanup/.find-print -rw-r--r-- 1 root root 29 Sep 28 22:01 /root/.cron.out
but I can't for the life of me get it to run other scripts. This started as a problem with just a single sync script running from the /mnt/Raid1md volume, but I've simplified it from there. None of the three touch scripts listed above works!
I set up runs for 11:41 and then waited, but I got no results.
jpo:~ # date Tue Sep 29 11:40:13 UTC 2020 jpo:~ # ls -l /root/tmp-touch-root /usr/local/bin/tmp-touch-local /mnt/Raid1md/tmp-touch-Raid1 -rwxr-xr-x 1 root root 33 Sep 29 11:39 /mnt/Raid1md/tmp-touch-Raid1 [...]
(no, I have no idea what's up there, but it's the same
davidtg@gezebel:~> rpm -qa | grep cron cron-4.2-lp151.4.6.1.x86_64 cronie-1.5.1-lp151.4.6.1.x86_64
on my "real install" system) cron mailing list, does anyone here have any ideas for me?
try running them: 41 11 29 09 * /usr/bin/bash /root/tmp-touch-root 41 11 29 09 * /usr/bin/bash /usr/local/bin/tmp-touch-local 41 11 29 09 * /usr/bin/bash /mnt/Raid1md/tmp-touch-Raid1 or "/usr/bin/sh" memory serves, sometimes this is necessary, but do not remember why. gud luk, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org