Skip to content

Commit 65700a3

Browse files
authored
Merge pull request #477 from rustcoreutils/cron-merge
Cron merge
2 parents 904ccb5 + f784d41 commit 65700a3

File tree

18 files changed

+4435
-10
lines changed

18 files changed

+4435
-10
lines changed

Cargo.lock

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ members = [
55
"awk",
66
"calc",
77
"cc",
8+
"cron",
89
"datetime",
910
"dev",
1011
"display",
@@ -32,7 +33,7 @@ members = [
3233
"users",
3334
"uucp",
3435
"xform",
35-
"i18n"
36+
"i18n",
3637
]
3738

3839
[workspace.package]
@@ -44,11 +45,12 @@ rust-version = "1.84.0"
4445
[workspace.dependencies]
4546
clap = { version = "4", default-features = false, features = ["std", "derive", "help", "usage", "error-context", "cargo"] }
4647
chrono = { version = "0.4", default-features = false, features = ["clock"] }
48+
chrono-tz = "0.10.0"
4749
libc = "0.2"
4850
regex = "1.10"
4951
gettext-rs = { path = "./gettext-rs" }
5052
errno = "0.3"
51-
chrono-tz = "0.10"
53+
tempfile = "3.14"
5254

5355
[workspace.lints]
5456

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Because it is a FAQ, the major differences between this project and uutils are:
6060
- [x] admin (SCCS)
6161
- [x] ar (Development)
6262
- [x] asa
63+
- [x] at (cron cat.)
6364
- [x] awk
6465
- [x] basename
6566
- [x] bc
@@ -69,6 +70,7 @@ Because it is a FAQ, the major differences between this project and uutils are:
6970
- [x] comm
7071
- [x] compress (compress cat.)
7172
- [x] cp
73+
- [x] crontab (cron cat.)
7274
- [x] csplit
7375
- [x] cut
7476
- [x] delta (SCCS)
@@ -193,10 +195,6 @@ Because it is a FAQ, the major differences between this project and uutils are:
193195

194196
## Stage 0 - Not started
195197

196-
### Cron category
197-
- [ ] at (cron cat.)
198-
- [ ] crontab (cron cat.)
199-
200198
### Development category
201199
- [ ] cflow (Development)
202200
- [ ] ctags (Development)

cron/Cargo.toml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[package]
2+
name = "posixutils-cron"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[dependencies]
7+
gettext-rs = { workspace = true }
8+
plib = { path = "../plib" }
9+
clap = { workspace = true }
10+
libc = { workspace = true }
11+
chrono = { workspace = true }
12+
chrono-tz = { workspace = true }
13+
tempfile = { workspace = true }
14+
15+
[[bin]]
16+
name = "at"
17+
path = "./at.rs"
18+
19+
[[bin]]
20+
name = "batch"
21+
path = "./batch.rs"
22+
23+
[[bin]]
24+
name = "crontab"
25+
path = "./crontab.rs"
26+
27+
[[bin]]
28+
name = "crond"
29+
path = "./crond.rs"
30+
31+
[lib]
32+
name = "cron"
33+
path = "./lib.rs"

0 commit comments

Comments
 (0)