Skip to content

Commit 572a78a

Browse files
committed
fix: deleted src, added at, batch in posixutils-cron
1 parent d5a92e8 commit 572a78a

File tree

14 files changed

+3714
-31
lines changed

14 files changed

+3714
-31
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@ rust-version = "1.80.0"
3939
[workspace.dependencies]
4040
clap = { version = "4", default-features = false, features = ["std", "derive", "help", "usage", "error-context", "cargo"] }
4141
chrono = { version = "0.4", default-features = false, features = ["clock"] }
42+
chrono-tz = "0.10.0"
4243
libc = "0.2"
4344
regex = "1.10"
4445
gettext-rs = { path = "./gettext-rs" }
4546
errno = "0.3"
47+
tempfile = "3.14"
4648

4749
[workspace.lints]
4850

cron/Cargo.toml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,25 @@ plib = { path = "../plib" }
99
clap = { workspace = true }
1010
libc = { workspace = true }
1111
chrono = { workspace = true }
12+
chrono-tz = { workspace = true }
13+
tempfile = { workspace = true }
1214

1315
[[bin]]
14-
name = "crontab"
15-
path = "src/bin/crontab.rs"
16+
name = "at"
17+
path = "./at.rs"
1618

1719
[[bin]]
18-
name = "crond"
19-
path = "src/bin/crond.rs"
20+
name = "batch"
21+
path = "./batch.rs"
22+
23+
[[bin]]
24+
name = "crontab"
25+
path = "./crontab.rs"
2026

2127
[[bin]]
22-
name = "main"
23-
path = "src/main.rs"
28+
name = "crond"
29+
path = "./crond.rs"
2430

2531
[lib]
26-
path = "./src/lib.rs"
32+
name = "job"
33+
path = "./job.rs"

0 commit comments

Comments
 (0)