Schedule a specific local time within Cron [solved]

Started by r.2024, April 07, 2024, 06:32:14 PM

Previous topic - Next topic
April 07, 2024, 06:32:14 PM Last Edit: April 07, 2024, 08:55:14 PM by r.2024
is there some way to schedule cron jobs every night at 1am local for example?

Of course. What exactly is the problem?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

hi patrick, well i want to have my ids/ips rules and dnsbl rules update and restart at 1am for example.  i cant find a way to do that within the interface since the "hours" field wont even accept 24 as i'm currently thinking that the only way to have tried to do this was to wait until 1am tonight and then configure cron and hit save...just at a loss really

Minutes: 0
Hours: 1
Rest: * * *

That's 1am local time every day. Cron runs on local time.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Reading your post again ... the crontab entries specify a point in time, not an interval! You do not enter "every 24 hours" - you enter "at the hour 1"!

OMG! You completely misunderstood how that tool works.

Hope to have made it clear  ;)
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Quote from: Patrick M. Hausen on April 07, 2024, 08:03:13 PM
Reading your post again ... the crontab entries specify a point in time, not an interval! You do not enter "every 24 hours" - you enter "at the hour 1"!

OMG! You completely misunderstood how that tool works.

Hope to have made it clear  ;)

gah!  that makes much more sense...sory it really didnt seem explained well in the documentation.  really appreciate it Patrick!