change save query

This commit is contained in:
wh1te909 2021-02-24 07:37:48 +00:00
parent e248a99f79
commit 2f7dc98830
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ def create_win_task_schedule(pk, pending_action=False):
task.run_time_date = now.astimezone(agent_tz).replace(
tzinfo=pytz.utc
) + djangotime.timedelta(minutes=5)
task.save()
task.save(update_fields=["run_time_date"])
nats_data = {
"func": "schedtask",