Comments and hashes

Continuing from #73 (closed):

How does this play along with commands that contain # as well? Which # is interpreted as "comment begins"?

For comments it's always the first one. If this is an issue, it will need to be another issue though.

That's strange:

>>> job
<CronItem '* * * * * touch "/tmp/#test" # ID 10'>
>>> job.comment
'ID 10'

So it's not always the first #. What's the actual logic for determining comments?

Edited May 16, 2020 by Radim Řehůřek
Assignee Loading
Time tracking Loading