Cron

Warning: This project is experimental. Its files will not synchronize across the CurseForge network.

Cron

Purpose

The Cron plugin mimics the well-known cron service from the Unix world and allows for scheduled command execution, both from a global table (crontab) and user crontabs. The commands are, whereever possible, executed in the context of the user as though they were executing them themselves.

Crontabs

Crontabs are saved in the crontabs/ folder. There is one global crontab file and one file for each user. Crontabs fave a form like this:

0 5 * * * say It is 5 o'clock 15 7 * * * goto Survival

This would mean: "Send the message It is 5 o'clock every day at 5:00 am" and "Teleport yourself to the world Survival every day at 7:15, e.g. when a war is carried out there".

See the Wikipedia article on the Unix cron service for more examples and details!

Commands

  • /crontab list - lists al lcommands from the user crontab
  • /crontab add - adds an entry to the crontab
  • /crontab remove - removes an entry from the crontab

Permissions

  • crontab.* - use the Cron system

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    37312
  • Created
    Mar 7, 2012
  • Last Released File
    Never
  • Total Downloads
    0
  • License

Categories

Members

Recent Files

No files uploaded yet.