Is there such a freeware program for crontab?

Is there something like lint for crontab? I would like to know that I have all my spaces and stars, sorted out, without waiting until something works.

+5
source share
4 answers

I don’t think you need a lint for crontab. There are 5 fields that are separated by a space, then a space, and then a command to run, and its arguments end the line.

Also, on Ubuntu, at least crontab will not allow you to save the bum file. I just tried a few things, and that’s all at all. I assume this means that crontab is its own "lint for cron".

+5
source

CronWTF, crontabs - , cron.

, javascript , sekrit cron.

, ruby, - whenever gem - schedule.rb crontabs :

every 10.minutes do
  command "/usr/bin/my_great_command" 
end

crontab

0,10,20,30,40,50 * * * * /usr/bin/my_great_command

:

every 2.days, :at => '4:30am' do
  command "/usr/bin/my_great_command" 
end

:

30 4 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31 * * /usr/bin/my_great_command
+8

Python linter . . CheckCrontab

+5

, - crontab, kcron gcrontab. script, , , php.

0

All Articles