3

Is there a tool or a way to view the next scheduled job (in the system or at least at the user level) and its time, without looking into crontab (crontab -l)?

Edit: Imagine that there are 500 different cron jobs with repetitions. I need an "easy" way to know that the job A will be executed after 5 minutes from now.

2
  • Are you looking for a built-in solution, or a third-party, have-to-configure-and-setup web-based solution?
    – Thomas Ward
    Jul 22, 2013 at 22:18
  • Actually either; any solution that shows the time and command of the next scheduled job; would be even better if it shows a list of the next jobs, e.g. for the next 24 hours. Otherwise, it is impractical to get this information from a crowded crontab file.
    – Orion
    Jul 22, 2013 at 22:30

1 Answer 1

1

You can use Webmin for that, as well as adding new cron tasks and many other admin tasks. The Webmin module for viewing/editing cron tasks can be found under the System category. When you enter it you can see a table of all the existing jobs on your system.

Additionally, there is the possibility of parsing the crontab with a little code in PHP, in C#, or in other language to answer your question.

6
  • more details please?
    – Orion
    Jul 22, 2013 at 21:36
  • What would you like to know? What part of your question is left unanswered? :-)
    – sergut
    Jul 22, 2013 at 21:57
  • 2
    Webmin isn't a clear answer. You have suggested some random third party software for that, but that does not answer the asker's question.
    – Thomas Ward
    Jul 22, 2013 at 22:17
  • As robot would say: "Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference."
    – edwin
    Jul 22, 2013 at 22:22
  • 1
    @sergut: I appreciate your answer, but at least for me it is unclear how to do X with Webmin. Imagine you have 500 different jobs which are highly overlapped with some repeated jobs. Does Webmin include a feature (e.g. a "view") to show that the job A will be executed after 5 minutes from now?
    – Orion
    Jul 22, 2013 at 22:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .