-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node stops at midnight #28
Comments
That is most strange. Could you screenshot the tooltip for the cron expression and also export that node and paste in a reply
|
Good morning.
When the cron-node is stopped, could you inject into it, a topic of "status-all" and capture the complete message (using a debug on the output of CRON set to show complete message) by using the NOTE: I myself setup a test as I am concerned there is a bug. Unfortunately (or from my perspective fortunately) it worked as expected. I set up logging yesterday on the IMPORTED node you sent, like this:
The syntax difference should make no difference and as shown above, using I am struggling to think of what could be upsetting your system. Do you do any dynamic control (i.e. send |
Good morning,
Sure, here is the output:
Thank you! As noone else mentioned such a behaviour it must have to do something with the system (or a very specific setting noone else uses, which I doubt to be honest). I think I will add flogger as well. Maybe I get an useful information next night or a more specific information when exactly the cron job stops working.
Yeah, I can image that. I have added some cron nodes with different context this morning based on the one which survived the daychange. I try to find out if there might be a connection to a specific setting although I have no idea which might be the problem.
Let's see. Yes, I have. Not in the same flow but on a different one. Let me explain, what I have set up. Static: Dynamic: Finally: On another flow I create a dynamic (persisting) schedule. But this only works if one other computer is powered on which is not at night. A powered off computer does not execute the function to set the schedule. Status seems to be ok. No start stop here, this schedule is a fixed DateTime. |
Alright, the last call of the cron job is indeed at midnight. The next call at 00:05 is not executed any more. As I mentioned yesterday, I have added several nodes with different settings. I might have an idea now what is going wrong: All nodes stopped at midnight where I set the time zone to “Europe\Berlin”. So, it seems that the fix will be quite easy for me: I will remove the time zone from all nodes and have another look tomorrow. I guess you are not in the same time zone like me, so maybe the problem is reproducible at your side when the node is set to exactly the same time zone set in the system? I have set up another node with a different time zone (Europe \London) now. If am right, the London trigger will work tomorrow, the Berlin trigger will be stopped. |
Hi, thanks for taking the time to raise the issue and help me out. I'll leave this open for now and see if I can't figure this out with the clues you have provided. Oh, one last thing, you machine isn't going to sleep is it? |
No, this raspberry is used for my smart home control, so sleeping is not allowed at all. I think, if a sleep would happen, not only those nodes with a time zone set would be stopped but all. |
Hi @Iceteax I have had several Cron nodes (with and without timezone) running for a few days. I cannot reproduce your issue :( I really would like to fix this if I can. Perhaps you could share your flows (only need the cron nodes and any dynamic control parts) |
Hi @Steve-Mcl , I have the impression that this is somehow only related to my system. Don't waste too much time on it, but I really appreciate it that you do! I have simplified the flows with the dynamic cron nodes. All in all I don't think that these two nodes can have any effect on the other cron triggers, especially since they all work since I removed the timezone.
|
Hi @Iceteax unfortunately, in all my tests i cannot re-produce your issue. I will close this issue for now but feel free to re-open if necessary. Thanks for your feedback. |
No problem. The workaround fits for me. Thank you for your time! |
Hi!
Since updating to version 1.3.0 my cron timer stop at midnight. Unfortunately, I cannot remember from which version I updated...
The example below worked until the update. The status bar shows that the node will be only executed at the next midnight instead of every 5 minutes. When I edit this note and deploy it, it works as expected until midnight and then stops again.
BTW: Cron nodes I set to a specific time once a day, week or month obviously seem to work. Is there anything I missed?
The text was updated successfully, but these errors were encountered: