Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| BattleScheduler_v1.2.6 release | 131.00 KB | Aug 27, 2012 | 1.4.6 | 1,284 | Download |
| BattleScheduler_v1.2.5 release | 71.16 KB | Aug 11, 2012 | 1.3.1 | 780 | Download |
Description
BattleScheduler
A cron based scheduler to run any bukkit commands or plugins that extend "Runnable".
This allows admins from the console or in game to create timers for various events. Also allows suspend/resume options for the timers.
Commands
- /timer create <time> <plugin name> <event or string of commands>
- /timer list: see all timers and registered events
- /timer delete <number>: Delete a timer
- /timer execute <event>: Execute the given event or command
Examples:
- timer create * * * * * default myCommand argument1 argument2
- timer create */15 * * * * default save-all
- this will save-all every 15 minutes
What did that mean!? What is Cron!?
Cron is a syntax for scheduling, it is very flexible and very powerful ( though maybe a bit confusing at first ).
Wikipedia has a good article on it, and there are many examples on the web. Just google "cron examples".
Cron from Wikipedia
Brief cheat sheet from wikipedia.
* * * * * command to be executed ┬ ┬ ┬ ┬ ┬ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └─── day of week (0 - 6) (0 is Sunday, or use names) │ │ │ └──────── month (1 - 12) │ │ └───────────── day of month (1 - 31) │ └────────────────── hour (0 - 23) └─────────────────────── min (0 - 59)
Source
GitHub
Get 0.05 TON 💎
Download
Add a comment