Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Oh wow never heard of those, and sounds like I need because my problem is precisely that the pc isn't always turned on, so I was thinking running it on shutdown could be very useful for me. I'll have to research those. Thanks! Commented Mar 29, 2021 at 7:43
  • @Seamus I made the question because I was having a hard time finding a way to run cronjobs in a pc that isn't always turned on. I was already thinking Linux assumes everything is a server running 24/7. That's why I thought maybe the answer was to run on startup/shutdown instead. That might have hinted Zoltan my pc wasn't always on. I'm not sure if anacron/fcron will be what I end up using, but at least now I know they exist (could be useful some day if not today). Commented Mar 29, 2021 at 8:09
  • @PhysicsEnthusiast123: That clarification in your OP would have helped your question. I may have a better grasp of it now, and yes, anacron may be better-suited to your use case - Wikipedia has a good article summarizing anacron. The only advantage that cron may offer is that it's pre-installed on virtually every Linux distro - anacron will probably need to be added. Commented Mar 29, 2021 at 8:26