Skip to content

Add description as comment in crontab#776

Merged
taketo1113 merged 1 commit intojavan:mainfrom
dyson:add-description
Jan 17, 2026
Merged

Add description as comment in crontab#776
taketo1113 merged 1 commit intojavan:mainfrom
dyson:add-description

Conversation

@dyson
Copy link
Copy Markdown
Contributor

@dyson dyson commented May 11, 2019

Adds a desc to a job that will be output as a comment above the cron
entry in the crontab. It supports single line and multiline
descriptions.

@benlangfeld
Copy link
Copy Markdown
Collaborator

Looks great. Would you please add a changelog entry for this?

@serggl
Copy link
Copy Markdown

serggl commented May 6, 2020

seems like this has been stale to awhile. Any chance to give it a go?

Base automatically changed from master to main January 20, 2021 18:17
Adds a desc to a job that will be output as a comment above the cron
entry in the crontab. It supports single line and multiline
descriptions.
@taketo1113
Copy link
Copy Markdown
Collaborator

Thank you for your contribution!

The option name has been changed from desc to description as shown below:

-every 1.hours, desc: "My job description" do
+every 1.hours, description: "My job description" do
   command "/usr/bin/my_great_command"
 end

@taketo1113 taketo1113 merged commit 7a18f09 into javan:main Jan 17, 2026
67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants