BlackSpigot
Cron Library for Rust

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());
}
Cron Syntax

Code​

Code:
* * * * *
- - - - -
| | | | |
| | | | +----- day of week (0 - 6) (Sunday=0)...
seller-gallery-1.webp

Original publisher cover.

Archived release​

Feramor’s CronLibrary.cs, version 1.0.2. Compatibility with current Rust servers has not been tested.
Author
Wifi
Downloads
0
Views
4
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Wifi

Top