Closed WilliamPriorielloGarda closed 4 years ago
Added 6 char cron support
Thanks for reporting, check v1.2.5
Hi guys,
How do I change the output to a 6 characters cron expression?
Currently, the output is always 7 char cron
the last * in cron expression refers to year which 6 char cron doesn't have
Please cut the last char from cron
Currently, the output is always 7 char cron
the last * in cron expression refers to year which 6 char cron doesn't have
Please cut the last char from cron
Thanks for your reply, My question had came from what is seems as a non standard cron expression- when I generate a cron expression like every day at 6 I get - 0 0 06 1/1 ? When our system and cron guru expect- 0 6 * I thought that there might be a prop I can set it to our pattern.
From what I can tell, only 7 character cron strings are supported as of this time. If I set the value to a 6 character cron string, the tool seems to default to the picture below![image](https://user-images.githubusercontent.com/66846208/85856156-78984580-b785-11ea-86ea-eab3bb8a93e7.png)
It also changes the cron string to an "every one minute" 7-character representation (0 0 00 1 1/1 ? *).
An example of a 6 character cron string that I am using: 0 15 1 ?