Hello,
I used to use kcron , which I would manage tasks by running " kcmshell4 cron" if I needed to run those tasks as root, but it appears cron/kcron (I don’t know which one it really is, or if they’re the same) is broken.None of the tasks run, and I get segfaults when I try to run them manually through kcron.
Oddly enough, when I researched the issue, I couldn’t find anything on kcron post-2010.
How exactly does one go about scheduling tasks in opensuse these days?
Works fine here.
Maybe post the tasks that won’t run and segfault?
Also, to be able to setup tasks for root, you have to run kcron as root (“kdesu kcmshell4 cron”). Did you do that? (you shouldn’t be able to edit root’s tasks otherwise anyway)
Is cron enabled? (“systemctl status cron”)
Kcron is just a frontend to set up cron jobs. You can directly use crontab in Konsole as well to set them up.
sometimes after updates things do not run as before,
so deleting then re-installing entries may be necessary
for global actions, entries can be put in /etc/crontab,
(root privileges needed)
for user specific tasks, (kde),
entries can be placed in, cmd
systemsettings -caption %c
then select as follows
– Sytem Administration
— Startup and Shutdown
---- Autostart and Add Program or Add Script
If it’s deselected, the script will be copied to your home directory (~/.kde4/share/env/ to be precise), so changes to the original file are ignored. But you could change the copy without effects to the original file in that case.
If it is selected, just a symlink to the original script is created in ~/.kde4/share/env/ which of course reflects all changes to the original file, since in fact it’s only a pointer to the original file…