I created a cron job, and usualy with that command I got a log but there is no log with that one, idea why? Maybe it is different with openSUSE?
thanks
sudo crontab -l
[sudo] password for root:
50 21 * * * /sbin/shutdown -h now >> /tmp/shutdown_cron.log 2>&1
I do not know what you expect to go into /tmp/shutdown_cron.log, but as far as I can see it, this command produces no output at all on stdout, nor on stderr when everything is well.
Also, when you have /tmp as a tmpfs, then it will be destroyed on shutdown, thus on next boot it will be empty.
BTW, my idea is that while the whole mechanism is taken over by systemd, the crontab interface will be supported by systemd for a considerable time to come. There is to much of a code base used with it on private and professional systems build up in > 50 years to drop it.
thus NOT the deamon.
The deamon /usr/sbin/cron seems to be in the cronie package. And the tool crontab is also part of it. Thus when the OP shows he uses the command crontab, I aasume he has the package cronie installed. If that is from the standard Tumbleweed OSS repo or from elsewhere I can not see.
But we better return to the original question. which was NOT "does cron function or not, but about the fact that the OP searches for some logging.
I asked what he expects to get because a good problem description is: what did you do (I think that is clear), what did you expect to get (not really clear) and what did you get instead (also not 100% clear, nothing, an empty file?).
@hcvv The real issue is that Tumbleweed rolls, users need to also move with the times else get left behind, and if new technologies aren’t working, create bug reports…