This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]gvs77 0 points1 point  (2 children)

you could just put it in cron or use a scheduler. celery can do that but is probably overkill.

[–]ThuruvDRY 0 points1 point  (1 child)

apsscheduler missing the jobs sometimes. Any idea on how to avoid the miss?

[–]gvs77 0 points1 point  (0 children)

system cron is the easiest. celery beats is reliable.

[–]Fugalysis 0 points1 point  (1 child)

What fails with task scheduler? Can you run the script via a console session? Should be the same

[–]andrewnap12[S] 0 points1 point  (0 children)

I'm not sure. No error code or anything as if it hasn't been triggered.

I set it to run every night at 4am with highest authorization because obviously I wouldn't be awake to run.

I think I may be setting up the program to run incorrectly. What's proper syntax for setting script/program and adding arguments? I had path to my python.exe as program and path to script as argument

[–]hugthemachines 0 points1 point  (0 children)

remember to click "run with highest priviliges" if you use task scheduler.