Skip to content

parsing "0 0 * * *" results in "@daily" rendered

Hi there,

I currently noticed a weird behavior which can be reproduced by creating a new CronItem like this


>>> cronitem = CronItem('true')
>>> cronitem.setall('0 0 * * *')
>>> cronitem.render()
'@daily true'

This leads to undesired effects when parsing existing crontabs as it does not honor the specified hour of the cron item.

Can this behavior be made optional for:

  • render
  • write_to_user

Cheers Sven

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information