1

A command defined as @reboot in the root crontab runs before or after systemd services?

Is it random or OS dependent?

1 Answer 1

2

Cron jobs can only start when the cron daemon is running, and of course systemd starts the cron daemon like every other service.

If it is important to run a specific job before or after something else, consider using a systemd timer/service to schedule it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.