OS Ubuntu 16.04 Need to run leafpad using cron at odd minutes of the current hour on odd days. I use for November 18, 04 hours.
1-59/2 4 */2 1-12 0-7 DISPLAY=:0 leafpad 1-59/2 4 2-31/2 1-12 0-7 DISPLAY=:0 leafpad But these commands do not work for both the 18th and 19. The next command works (opens leafpad) for both 18 and 19.
1-59/2 4 1-31/2 1-12 0-7 DISPLAY=:0 leafpad Please explain my mistake?
1,3,...in order not to type manually, you can generate the lines:$ seq -s , 1 2 31; seq -s , 2 2 31$ seq -s , 1 2 31; seq -s , 2 2 31. // and, yes,1-12and0-7are redundant listings. both of them can be replaced with asterisks. - aleksandr barakin 2:41