Skip to content

Commit

Permalink
fix cron order
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousm4x authored May 31, 2022
1 parent 21218ef commit 2e251f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/backend/wol/consumers.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def get_all_devices(self):
wake = CrontabSchedule.objects.get(id=task.crontab_id)
data[action]["enabled"] = task.enabled
data[action]["cron"] = " ".join(
[wake.minute, wake.hour, wake.day_of_week, wake.day_of_month, wake.month_of_year])
[wake.minute, wake.hour, wake.day_of_month, wake.month_of_year, wake.day_of_week])
except PeriodicTask.DoesNotExist:
pass
d.append(data)
Expand Down

0 comments on commit 2e251f3

Please sign in to comment.