Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any validator for training purposes where you can enter cron syntax like

0 0/5 9-17 * *

and it will print out:

  • more detailed errors and suggestions
  • pronounced, readable text format (Option -h ;) )
    • e.g. "every 5 hours between 9th and 17th each month"
share|improve this question
1  
Unless you're using a different version of cron than I am, that line does not represent "every 5 minutes between 9 and 17 o'clock every day". I guess that's why a readable text format output is required. :-) –  Ladadadada Aug 15 '12 at 13:56
    
rofl, sorry, got confused while writing "crons" for jira: confluence.atlassian.com/x/gAISCw –  childno.de Aug 15 '12 at 14:38
add comment

1 Answer

You can use crontab -e which will open an editor allowing you to edit cron jobs. It will report errors in case you mistyped the cron job line.

share|improve this answer
    
shure, but I need something for really stupid guys who want to learn what they enter ;) (sometimes it's boring teaching this again and again to the trainees –  childno.de Aug 15 '12 at 12:31
    
@childno.de: It seems that you did not describe your question properly in the first time. –  Khaled Aug 15 '12 at 12:43
    
yes you're right, I'm sorry about that –  childno.de Aug 15 '12 at 12:51
add comment

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.