Jump to content

Oxidation's Scheduler 1.0.2

$2.99 $1.99
   (0 reviews)

1 Screenshot

  • 1,696
  • 40
  • 5.8 kB
 Share

About Oxidation's Scheduler

This plugin will allow you to run console commands at any given schedule.
The syntax was inspired on the Unix's crontab format but ported to json for easy of use. Below you'll find some examples.. but sky is the limit.

┌───────────── minute (0 - 59)
│ ┌───────────── hour (0 - 23)
│ │ ┌───────────── day of the month (1 - 31)
│ │ │ ┌───────────── month (1 - 12)
│ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday);
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │
* * * * * <command to execute>
 
{
  "Minute": "*",
  "Hour": "*",
  "Day": "*",
  "Month": "*",
  "DoW": "*",
  "Command": "ai.sleepwakestats"
}

 

 Execute the command "ai.sleepwakestats" every 3m:

    {
      "Minute": "*/3",
      "Hour": "*",
      "Day": "*",
      "Month": "*",
      "DoW": "*",
      "Command": "ai.sleepwakestats"
    },

 

Execute the command "status" at 15m of every hour:

    {
      "Minute": "15",
      "Hour": "*",
      "Day": "*",
      "Month": "*",
      "DoW": "*",
      "Command": "status"
    },

 

Restart the server every day at 6:45:

    {
      "Minute": "45",
      "Hour": "6",
      "Day": "*",
      "Month": "*",
      "DoW": "4",
      "Command": "restart 60"
    },

 

Have a specific plugin running only during the weekends:

    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.load MyWeekEndPlugin"
    },
    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.unload MyWeekEndPlugin"
    }

 

 Execute the command "oxide.version" every Tueday between 10:15 to 10:25:

    {
      "Minute": "15-25",
      "Hour": "10",
      "Day": "*",
      "Month": "*",
      "DoW": "3",
      "Command": "oxide.version"
    }

 

Sets the fps limit to 30 at every server restart:

    {
      "Minute": "@restart",
      "Hour": "*",
      "Day": "*",
      "Month": "*",
      "DoW": "*",
      "Command": "fps.limit 30"
    }

 

Keeps the plugin MyWeekEndPlugin unloaded during weekend restarts:

    {
      "Minute": "@restart",
      "Hour": "*",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.unload MyWeekEndPlugin"
    },
    {
      "Minute": "@restart",
      "Hour": "*",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.unload MyWeekEndPlugin"
    }

 


User Feedback

561.6k

Downloads

Total number of downloads.

3.1k

Customers

Total customers served.

41.7k

Files Sold

Total number of files sold.

723.1k

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.