mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Schedules running at 2 different times. #165
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BrianDLC on GitHub (Oct 3, 2024).
Originally assigned to: @Boy132 on GitHub.
Current Behavior
Schedules seem to run twice at two different times, today I was able to notice all schedules run at other times, I had set up an alarm to run every 3 hours, another to run at 0 0 * * * and another to run at */3, which would be every 3 hours, all 3 ran at the same time at 0 UTC. The 0 0 * * * schedule ran at 4PM and again at 8PM (it should run at 8PM), after it ran again at 8PM, it claims the next scheduled run time is at 4PM, meaning it'll most likely run at 4PM and 8PM again the next day. I did have this issue a month ago and had more information but decided to turn off all schedules due to wanting to progress on a game server.
The issue persists, If I run a schedule it will run at the time I designated and at another time around 4 hours before the scheduled time. I do not understand how to troubleshoot this and would love some assistance.
I've even tried updating the panel as well as setting the schedule on another server and node, still same issue, seems to have started happening after some time using the panel as it did work for a time.
Expected Behavior
Schedules should run as intended by the cron schedule
Steps to Reproduce
Create any schedule and see when it runs.
Panel Version
1.0.0-beta10
Wings Version
1.0.0-beta4
Games and/or Eggs Affected
All (Testing on Minecraft Neoforge)
Docker Image
No response
Error Logs
Is there an existing issue for this?
@Boy132 commented on GitHub (Oct 3, 2024):
Make sure your contab and queue worker are setup correctly. Also make sure that there aren't multiple queue workers running. The queue worker was previously called
pelicanqor justpelican, it should now be calledpelican-queue.Also note that the schedule cron time (e.g.
0 0 * * *) is always displayed as UTC whileNext runandLast runare displayed in your timezone. Just mentioning it to make sure there are no confusions.@BrianDLC commented on GitHub (Oct 3, 2024):
Hey, looks like I only have one queue worker and my crontab config matches what the instructions ask for
Yes I am aware about the displayed time, they have helped me see the issue. When I have a job set to run at 0 UTC, it runs at 4PM EST and again at 8PM EST, I can see its going to run again because it lets me know it plans to run at 8PM once the 4PM job is done.
I have one job I disabled that shows an example of that below

As you can see, it just ran at 9AM, and its planning to run again at 5AM.
@Boy132 commented on GitHub (Oct 4, 2024):
Did you change the
APP_TIMEZONEin your .env file? It should be set toUTC.@BrianDLC commented on GitHub (Oct 4, 2024):
No as I have not made any additional changes to the config outside of the panel GUI, as in, after setting up the panel/nodes after following the guide on the pelican panel docs I made no other changes to them.
@Boy132 commented on GitHub (Oct 10, 2024):
Please try the changes from here and see if the problem still occurs.
@BrianDLC commented on GitHub (Oct 10, 2024):
Alright I've made the changes, will set up some schedules to test.
@Boy132 commented on GitHub (Oct 23, 2024):
@BrianDLC Were you able to test the changes? Is the issue still occurring?
@BrianDLC commented on GitHub (Oct 23, 2024):
After testing, I would have to say that this change did resolve the issue, thanks!
From: Boy132 @.>
Sent: Wednesday, October 23, 2024 3:39 PM
To: pelican-dev/panel @.>
Cc: Brian A De La Cruz @.>; Mention @.>
Subject: Re: [pelican-dev/panel] Schedules running at 2 different times. (Issue #605)
@BrianDLChttps://github.com/BrianDLC Were you able to test the changes? Is the issue still occurring?
—
Reply to this email directly, view it on GitHubhttps://github.com/pelican-dev/panel/issues/605#issuecomment-2433283488, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHPJO57MQWW3XIACRKFI2ZLZ473PXAVCNFSM6AAAAABPKDZAZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZTGI4DGNBYHA.
You are receiving this because you were mentioned.Message ID: @.***>