Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on Manually trigger cron jobs

Post

Manually trigger cron jobs

+1
−0

Do any of the cron implementations allow you to manually trigger cron jobs (stuff in your crontab) right now, in the exact same manner as they would have when triggered on their usual schedule, except for timing?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Systemd timers (2 comments)
Systemd timers
Iizuki‭ wrote 8 months ago

This seems to be a point in favor of systemd timers, as there the jobs (units) are separated from the schedule (timer), and can be activated independently.

matthewsnyder‭ wrote 7 months ago

Yes :)

If the answer is

You cannot trigger cron jobs manually. You can only do that in systemd, this is one of the things systemd tried to "fix" vs. cron.

That is acceptable, I just don't know for sure if it is.