How to do job once at a specific date and time?
- Dominant language
- Python
- Stars
- 12.3k
- Forks
- 999
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
I need a Python script that executes some task once in a specific date and time? Can I do it using Schedule? In the documentation I've found such a code:
```Python
schedule.every().day.at('22:30').do(job_that_executes_once)
```
It works, but I need something like this:
```Python
schedule.every().day.at('2022-04-03 22:30').do(job_that_executes_once)
```
But this code returns an error. Can I do it in some way?
Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the Schedule documentation and the `schedule.every().day.at()` entry point shown in the issue. Determine whether a one-off job at a specific date and time is supported; done means documenting the supported approach or clearly defining the requested behavior if a code change is needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100