DevOps & Scheduling 6 min read · Last verified 2026-11-25

Mastering Cron, AWS EventBridge, GitHub Actions & systemd Timers Across Timezones and DST

Every spring and autumn when North America and Europe shift clocks for Daylight Saving Time (on different weekends!), production billing jobs, database backups, and CI pipelines fire an hour early, run twice, or vanish altogether. Understanding the exact field differences across Unix cron, AWS EventBridge, GitHub Actions, and systemd timers eliminates silent scheduling bugs for good.

Primary References: POSIX crontab(5), AWS EventBridge Cron, GitHub Actions schedule, systemd.time(7) · Author: NetDevKit Engineering Team

1. Why Pasting a Unix Crontab Straight into AWS EventBridge Fails

S

t

a

n

d

a

r

d

P

O

S

I

X

U

n

i

x

c

r

o

n

u

s

e

s

5

s

p

a

c

e

-

s

e

p

a

r

a

t

e

d

f

i

e

l

d

s

:

m

i

n

u

t

e

,

h

o

u

r

,

d

a

y

-

o

f

-

m

o

n

t

h

,

m

o

n

t

h

,

a

n

d

d

a

y

-

o

f

-

w

e

e

k

(

w

h

e

r

e

0

o

r

7

r

e

p

r

e

s

e

n

t

s

S

u

n

d

a

y

)

.

A

W

S

E

v

e

n

t

B

r

i

d

g

e

(

f

o

r

m

e

r

l

y

C

l

o

u

d

W

a

t

c

h

E

v

e

n

t

s

)

u

s

e

s

a

Q

u

a

r

t

z

-

d

e

r

i

v

e

d

6

-

f

i

e

l

d

s

y

n

t

a

x

w

i

t

h

a

t

r

a

i

l

i

n

g

y

e

a

r

f

i

e

l

d

,

e

n

f

o

r

c

e

s

a

s

t

r

i

c

t

m

u

t

u

a

l

-

e

x

c

l

u

s

i

o

n

r

u

l

e

r

e

q

u

i

r

i

n

g

a

'

?

'

w

i

l

d

c

a

r

d

i

n

e

i

t

h

e

r

d

a

y

-

o

f

-

m

o

n

t

h

o

r

d

a

y

-

o

f

-

w

e

e

k

,

A

N

D

n

u

m

b

e

r

s

S

u

n

d

a

y

a

s

1

(

n

o

t

0

!

)

.

C

o

p

y

i

n

g

'

0

9

*

*

1

-

5

'

v

e

r

b

a

t

i

m

i

n

t

o

E

v

e

n

t

B

r

i

d

g

e

f

a

i

l

s

v

a

l

i

d

a

t

i

o

n

i

m

m

e

d

i

a

t

e

l

y

β€”

o

r

w

o

r

s

e

,

s

h

i

f

t

s

w

e

e

k

d

a

y

s

i

f

y

o

u

w

r

i

t

e

n

u

m

e

r

i

c

d

a

y

s

c

a

r

e

l

e

s

s

l

y

.

Scheduler Platform Field Count Default Timezone Weekday 09:00 Syntax Example
Unix / Linux crontab 5 fields Host OS local TZ (often UTC) 0 9 * * 1-5
AWS EventBridge 6 fields (+Year) UTC (Scheduler supports IANA TZ) cron(0 9 ? * MON-FRI *)
GitHub Actions 5 fields UTC (optional timezone: key) cron: '0 9 * * 1-5'
Kubernetes CronJob 5 fields Controller TZ (set spec.timeZone) 0 9 * * 1-5 + timeZone: America/New_York
Linux systemd Timer OnCalendar System TZ (or explicit TZ suffix) OnCalendar=Mon..Fri *-*-* 09:00:00

2. The Two Silent Daylight Saving Time (DST) & Half-Hour Offset Traps

T

r

a

p

1

β€”

S

c

h

e

d

u

l

i

n

g

b

e

t

w

e

e

n

0

1

:

0

0

a

n

d

0

3

:

0

0

l

o

c

a

l

t

i

m

e

:

W

h

e

n

c

l

o

c

k

s

s

p

r

i

n

g

f

o

r

w

a

r

d

f

r

o

m

0

2

:

0

0

t

o

0

3

:

0

0

,

a

j

o

b

s

c

h

e

d

u

l

e

d

f

o

r

0

2

:

3

0

l

o

c

a

l

t

i

m

e

d

o

e

s

n

o

t

e

x

i

s

t

t

h

a

t

d

a

y

(

s

o

m

e

s

c

h

e

d

u

l

e

r

s

s

k

i

p

i

t

e

n

t

i

r

e

l

y

,

w

h

i

l

e

G

i

t

H

u

b

A

c

t

i

o

n

s

a

d

v

a

n

c

e

s

i

t

t

o

0

3

:

0

0

)

.

W

h

e

n

c

l

o

c

k

s

f

a

l

l

b

a

c

k

,

a

0

1

:

3

0

l

o

c

a

l

j

o

b

c

a

n

e

x

e

c

u

t

e

t

w

i

c

e

!

T

r

a

p

2

β€”

H

a

l

f

-

h

o

u

r

t

i

m

e

z

o

n

e

s

s

u

c

h

a

s

I

S

T

(

U

T

C

+

0

5

:

3

0

)

:

c

o

n

v

e

r

t

i

n

g

a

0

9

:

0

0

I

S

T

b

u

s

i

n

e

s

s

j

o

b

i

n

t

o

U

T

C

r

e

q

u

i

r

e

s

s

h

i

f

t

i

n

g

B

O

T

H

h

o

u

r

s

A

N

D

m

i

n

u

t

e

s

(

0

3

:

3

0

U

T

C

)

,

a

n

d

l

a

t

e

-

e

v

e

n

i

n

g

l

o

c

a

l

j

o

b

s

c

r

o

s

s

m

i

d

n

i

g

h

t

i

n

t

o

t

h

e

p

r

e

v

i

o

u

s

U

T

C

d

a

y

-

o

f

-

w

e

e

k

.

# Verify systemd OnCalendar expressions BEFORE deploying to production:
systemd-analyze calendar --iterations=5 "Mon..Fri *-*-* 09:00:00 UTC"

# GitHub Actions schedule with explicit IANA timezone (avoids manual UTC math):
on:
  schedule:
    - cron: '0 9 * * 1-5'
      timezone: 'America/New_York'

3. Best Practice: Schedule Infrastructure in UTC, Business Jobs with Explicit IANA Zones

R

u

n

i

n

f

r

a

s

t

r

u

c

t

u

r

e

m

a

i

n

t

e

n

a

n

c

e

β€”

l

o

g

r

o

t

a

t

i

o

n

,

S

S

L

r

e

n

e

w

a

l

c

h

e

c

k

s

,

d

a

t

a

b

a

s

e

v

a

c

u

u

m

i

n

g

,

a

n

d

b

a

c

k

u

p

s

β€”

s

t

r

i

c

t

l

y

i

n

U

T

C

s

o

i

n

t

e

r

v

a

l

s

s

t

a

y

u

n

i

f

o

r

m

3

6

5

d

a

y

s

a

y

e

a

r

w

i

t

h

z

e

r

o

D

S

T

a

n

o

m

a

l

i

e

s

.

R

e

s

e

r

v

e

e

x

p

l

i

c

i

t

I

A

N

A

t

i

m

e

z

o

n

e

s

(

s

u

c

h

a

s

E

u

r

o

p

e

/

L

o

n

d

o

n

o

r

A

m

e

r

i

c

a

/

N

e

w

_

Y

o

r

k

)

s

t

r

i

c

t

l

y

f

o

r

h

u

m

a

n

-

f

a

c

i

n

g

r

e

p

o

r

t

s

o

r

m

a

r

k

e

t

-

o

p

e

n

t

r

i

g

g

e

r

s

,

a

n

d

n

e

v

e

r

r

e

l

y

o

n

f

r

a

g

i

l

e

3

-

l

e

t

t

e

r

o

f

f

s

e

t

s

l

i

k

e

E

S

T

o

r

E

D

T

t

h

a

t

s

t

o

p

t

r

a

c

k

i

n

g

c

l

o

c

k

t

r

a

n

s

i

t

i

o

n

s

.

Companion Offline NetDevKit Calculators

Apply the formulas from this guide immediately in your browser with zero server uploads:

Frequently Asked Questions

Why does AWS EventBridge require a question mark (?) in cron expressions?

EventBridge uses a 6-field Quartz-style syntax where you cannot put '*' in both day-of-month and day-of-week simultaneouslyβ€”one must be '?' to mean 'no specific value'.

Why did my GitHub Actions cron workflow run 20–40 minutes late?

GitHub Actions experiences heavy scheduler queue spikes at the top of the hour (:00) and midnight UTC. Picking an off-peak minute like 17 or 43 dramatically reduces queue delay.

What happens if a server is powered off during a scheduled systemd timer window?

Standard cron skips missed runs while a machine is offline. Adding Persistent=true inside a systemd .timer unit ensures missed executions fire automatically once the host boots back up.

More Engineering Guides

Copied to clipboard