Skip to content

Commit

Permalink
fix cron comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NexVeridian committed Oct 26, 2024
1 parent 482259e commit 5d2b66f
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 @@ -67,11 +67,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 5d2b66f

Please sign in to comment.