BlackSpigot
Cron Library for Rust

Wifi

Ultra
Staff member
Ultra
Wifi submitted a new resource:

Cron Library for Rust - Add crontab expressions to your scheduled works


This plugin will help developers to use crontab expressions for their scheduled works with world clock. For example you want to call a function @ 12 AM Everyday you just need to use following code.

Code​

Code:
[PluginReference] Plugin CronLibrary;
CronLibrary?.CallHook("RegisterCron", true, "0 0 * * *", () => MyFunction());
void MyFunction()
{
  Puts("Time is {0}", DateTime.UtcNow.ToString())...

Read more about this resource...
 
Top