Hello, all of the sudden a scheduled job is not working anymore. It needs to run every hour. When i run manual it works. Am i missing someting?
Scheduled job stops working
-
- OMV 1.0
- Martijn
-
-
0 for minute
1 for hour and a check mark for every N hour. -
Do i understand it wrong. I intepretate the setting you suggest that the job will run every day at 1 a.m.
Nevertheless i tried it and it is not working.
It seems the scheduled jobs in the ui are not in the cronjob in cli. Is this correct?
-
Does the job run, if you start it manually from the GUI?
Zitat0 for minute
1 for hour and a check mark for every N hour.
This correct, the job should run "every (1) hour at minute 00" -
Ok thanks flor clearing that up. Yes it runs when i click it manually from the gui
-
please post the output of
cat /etc/cron.d/openmediavault-userdefined
it should look something like this:Code~$ cat /etc/cron.d/openmediavault-userdefined SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command */30 * * * * root /var/lib/openmediavault/cron.d/userdefined-8a0760ab-d82d-4231-8c99-4e0e0d00f141 >/dev/null 2>&1
another thing you can try is to execute the command from your output. In this example would be:
and see, if it does, what you want. -
Instead of editing the job i deleted, saved and made one again. Now it works again. Thanks!
-
Weird...
Did you change this at the end:
>/dev/null 2>&1
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!