There was a problem on freenas 11.3-U5 - cronjob starts the required task.
I see that the cronjob is runnig but the script is not launched
This is a string in the database. Screenshot 2
But there are no errors in the middlewared file.
After middleware restart everything works 2 or 3 times and then the script is not launching anymore.
When I start the task by hand, via the web interface, it works. But as I see it runs the script differently.
I have no idea what can be done ... Can you help?
Thanks a lot in advance
Code:
Aug 23 11:47:00 /usr/sbin/cron[88760]: (root) CMD (PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin" midclt call cronjob.run 21 true > /dev/null 2> /dev/null) Aug 23 11:48:00 /usr/sbin/cron[90059]: (root) CMD (PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin" midclt call cronjob.run 21 true > /dev/null 2> /dev/null)
I see that the cronjob is runnig but the script is not launched
This is a string in the database. Screenshot 2
But there are no errors in the middlewared file.
Code:
[2021/08/23 11:47:00] (WARNING) middlewared.job.add():202 - There are 27261 jobs waiting or running [2021/08/23 11:48:00] (WARNING) middlewared.job.add():202 - There are 27267 jobs waiting or running
After middleware restart everything works 2 or 3 times and then the script is not launching anymore.
When I start the task by hand, via the web interface, it works. But as I see it runs the script differently.
Code:
Aug 23 11:46:25 cron: (root) CMD (/root/test.sh > /dev/null)
I have no idea what can be done ... Can you help?
Thanks a lot in advance