Skip to content

Commit

Permalink
fix cron comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NexVeridian committed Nov 27, 2024
1 parent 84b712b commit 34e7121
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ pub struct Job {
#[serde(default)]
pub shell: bool,
#[serde(rename = "schedule")]
#[rustfmt::skip]
/// The cron expression defining the job's schedule.
///
/// The format is as follows:
/// sec min hour day of month month day of week year
/// * * * * * * *
/// * * * * * * *
pub cron: String,
/// Tags for tagging the job.
pub tags: Option<Vec<String>>,
Expand Down

0 comments on commit 34e7121

Please sign in to comment.