I want to create a script that run at a specific date everyday given the variable status as a parameter. The status can take two entries: “past” or “present”. I want to save the current date as a parameter and use it after in a function to make different calls. So the current time becomes also a parameter. For example,
Tag: schedule
How to use schedule library to schedule script in Python
I am trying to use import schedule library in Jupiter notebook as the Cron and Task scheduler in Windows doesn’t work for me. I am trying to execute this code every day at 8am. Can some one help define the job, thank you so much! Answer this one should work And instead of shedule library, i using here just own
Adding an or-statement to an OR-Tools constraint (CP-SAT solver)
So I’m trying to build a scheduling tool in OR-tools similar to the employee scheduling example. However, in my case there are ten shifts to cover, and I would like to prevent people from having a ten hour workday by making sure either the first two shifts are off, or the last two shifts are off. I would like to
Local Django server unresponsive when adding function scheduling
I am trying to schedule a function to run everyday using the Schedule library. My local Django server however hangs and becomes unresponsive during the system check after saving the schedules to my code. It is only when I remove the schedule code the system check passes and the server runs without problem. I have copied the example directly from