We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f4211 commit 81c8d0dCopy full SHA for 81c8d0d
2 files changed
README.md
@@ -12,7 +12,7 @@ See: [Installation]()
12
| HTTP | 🚧 |
13
| MQTT | 📝 |
14
| AMQP | 📝 |
15
-| Cron-Jobs | 📝 |
+| Cron-Jobs | 🚧 |
16
17
**Legend:**
18
- ✅ Done: Fully implemented and ready to use
adapter/cron/src/main.rs
@@ -73,7 +73,7 @@ impl Server<CronConfig> for Cron {
73
74
async fn run(&mut self, ctx: &ServerContext<CronConfig>) -> anyhow::Result<()> {
75
let expression = "0 * * * * *";
76
- let schedule = Schedule::from_str(expression).expect("Failed to parse CRON expression");
+ let schedule = Schedule::from_str(expression)?;
77
let pattern = "*.*.CRON.*";
78
79
loop {
0 commit comments