Hi Dmitry, all,
I’m facing a scheduled task issue. I have about twenty tasks that are scheduled on an EasyMorph Server environment, at various frequencies (every 4 hours, Every day, etc.)
The screenshot attached illustrates my issue:
On the Task tab, Status, I see my list of Tasks. The Status column indicates a ‘Next run’ that lies in the past, e.g. “Next run 6/10/2021” while we’re already October 8.
Looking at the Logs, I see that the tasks have not run. Also, the target systems were not updated, automatic mails were not sent,… so I think the tasks have effectively not run.
When opening the task, and re-saving it, the issue seems fixed.
I have a gif illustrating the point above, but as it contains sensitive info, I’d rather not share it here.
As per the last bulletpoint above, I have a fix for now so it’s not blocking. But is this somehow a known issue, or am I doing something wrong? Is it relevant to provide system (windows event) logs?
Hi Dmitry,
Thanks for your reply.
I have sent the requested info. I’ll reboot the server asap, but this will need to wait until the end of the working hours (I’m at UTC+2).
KR,
David
It looks like on October 6th you changed space security settings and disabled tasks for this space. Disabling tasks hides them from users, but also prevents tasks from execution. If you want to hide tasks from users but keep them running on schedule, move the tasks into another space where users don’t have access.
Restarting the Server (my initial recommendation) won’t help in this case. Tasks should be enabled in order to run on schedule in that space.
many thanks! Indeed, the setting was erroneously changed. I guess what got me confused was the ‘Task editing’ label. While the explanation on the right is clear (i.e. tasks are disabled, so both their editing and running), my simple interpretation of “Task editing = disabled” does not necessarily imply the tasks won’t run anymore.