Skip to content
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

[Bug]: Scheduled tasks not executing on schedule. (or at all?) #2191

Open
maietta opened this issue May 12, 2024 · 2 comments
Open

[Bug]: Scheduled tasks not executing on schedule. (or at all?) #2191

maietta opened this issue May 12, 2024 · 2 comments
Assignees

Comments

@maietta
Copy link

maietta commented May 12, 2024

Description

I'm not sure if this is a problem between the keyboard and chair, or an actual bug.

The crontab scheduling syntax for once a minute, every minute, which is 5, space separated asterisks don't seem to be working in my case and I don't know why. My jobs have not been running for the last two days despite services being online. I've restarted and redeploy the app, with no positive change.

For now, I have to manually run the jobs via command line every so often, just to keep my Real Estate Listings on some websites up to date.

Here's screenshot showing the list of last dates the job was run and the scheduler's syntax.

image

Minimal Reproduction (if possible, example repository)

N/A

Exception or Error

N/A

Version

v4.0.0-beta.277

@andrasbacsai
Copy link
Member

I will add some fine-tuning to the scheduled jobs in the next release, but this should not happen.

If you login to your instance as the root user, and go to <yourinstance>/horizon, can you check if the ScheduledTaskJob are even there and failing?

@maietta
Copy link
Author

maietta commented May 15, 2024

I was able to ascertain that if I manually run the job via the command tab you've provided in the UI, the job does execute.

The 5 asterisks do denote every minute, correct, just like a regular CRON tab schedule?

Per your request:

Completed jobs are showing up here:

image

As well as failed jobs showing up as well.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants