Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
Are you looking for a built-in solution, or a third-party, have-to-configure-and-setup web-based solution? –  Thomas W. Jul 22 '13 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 '13 at 22:30

1 Answer 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.

share|improve this answer
    
more details please? –  Orion Jul 22 '13 at 21:36
    
What would you like to know? What part of your question is left unanswered? :-) –  sergut Jul 22 '13 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 W. Jul 22 '13 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 '13 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 '13 at 22:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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