fix: cronjob to only run on weekdays
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
This commit is contained in:
parent
04d46d06b0
commit
bc21b1c6db
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ class AppConfig(AppConfig):
|
|||
job.delete()
|
||||
# Schedule jobs here as required
|
||||
scheduler.cron(
|
||||
"0 6 * * *",
|
||||
"0 6 * * 1-5",
|
||||
func=populate_bhav_copy_data,
|
||||
repeat=None,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue