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

[HELP] cron no longer runs after computer sleep #317

Open
remuspoienar opened this issue Sep 25, 2020 · 4 comments
Open

[HELP] cron no longer runs after computer sleep #317

remuspoienar opened this issue Sep 25, 2020 · 4 comments

Comments

@remuspoienar
Copy link

Hi,

I believe i got something wrong in my setup, after my macbook goes to sleep the cron doesn't execute the jobs in the next day.
I have attached my jobber file config below , at the end.

If i change the config file and set the time of the cron to the following minute,and reload jobber, it will run. Also running with the test command at any point works, so the script clearly works. It's just the cron that tips me off. Normally it should have been ran today at 08:30 AM, and if in my terminal i output the list command, it appears as the next run time, though it passed it 4 hours ago, and the next run should be Monday at that same hour.

Can you please give me some hints on why sleep could affect the cron.
Thank you

Screenshot 2020-09-25 at 14 32 47

jobber-config.txt

@ckotte
Copy link

ckotte commented Oct 17, 2020

Do you use the version provided via Homebrew or do you run it via Docker?

@remuspoienar
Copy link
Author

i use the homebrew one

@chunleng
Copy link

having the same problem on macOS Big Sur v11.5.1

@paxperscientiam
Copy link

Not sure if it's related, but I was running into a problem with jobbermaster erroring out.
Screen Shot 2021-10-06 at 1 02 47 AM

So, the issue here is that jobbermaster was coded to assume that /usr/local/var exists, it seems.

sudo mkdir -p /usr/local/var/jobber did it for me.

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

No branches or pull requests

4 participants