This is a library for scheduling your flow function as a cron job in test.flows.network.
```rust use scheduleflows::schedulecronjob; use slackflows::sendmessageto_channel;
pub fn run() { schedulecronjob(String::from("50 8 * * *"), String::from("cronjobevoked"), |body| { sendmessagetochannel( "myworkspace", "mychannel", String::fromutf8lossy(&body).intoowned(), ); }); } ```
In run()
the schedule_cron_job
will create a cron job that will run daily at 8:50 UTC.
When the cron job is evoked, the callback closure will be called and we send body to the Slack.
The whole document is here.