Jump to content

Support with config?

Closed 1.1.1

Hi sorry to be a pain but things are activating at the wrong day/time for me like today i got the perm custombuttons.purge when i wasn't  suppose to. My server is 1Hour ahead of the UK so instead of 14:00 for 2PM its 15:00 

Im trying to make my server do the following:

Restart everyday at 1am

give perms for groups default, vip & Premium Saturday @ 2PM (UK) custombuttons.purge and play a sound then 2:01PM o.reload CustomButtons

then at midnight revoke the previous perms and give custombuttons.purgeover then 0:01 reload CustomButtons

then Sunday 2PM (UK) revoke previous perms then grant custombuttons.endoftheworld +Play a sound then 2:01PM reload CustomButtons

then Midnight Revoke previous perms and grant perms custombuttons.purgeover then 0:01 reload CustomButtons

 

 

Here is my config:

{
  "UTC": false,
  "Cron": [
    {
      "Minute": "57",
      "Hour": "1",
      "Day": "*",
      "Month": "*",
      "DoW": "0-6",
      "Command": "save"
    },
    {
      "Minute": "59",
      "Hour": "1",
      "Day": "*",
      "Month": "*",
      "DoW": "0-6",
      "Command": "restart 60"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.revoke group premium custombuttons.purgeover"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.revoke group vip custombuttons.purgeover"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.revoke group default custombuttons.purgeover"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.revoke group premium custombuttons.endoftheworld"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.revoke group vip custombuttons.endoftheworld"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.revoke group default custombuttons.endoftheworld"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.grant group premium custombuttons.Purge"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.grant group default custombuttons.Purge"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.grant group vip custombuttons.Purge"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "audio.message sendall purge"
    },
    {
      "Minute": "1",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.reload CustomButtons"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.revoke group premium custombuttons.purge"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.revoke group vip custombuttons.purge"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.revoke group default custombuttons.Purge"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.reload CustomButtons"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.grant group premium custombuttons.Purgeover"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.grant group vip custombuttons.Purgeover"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.grant group default custombuttons.Purgeover"
    },
    {
      "Minute": "58",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.reload CustomButtons"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.revoke group premium custombuttons.Purgeover"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.revoke group vip custombuttons.Purgeover"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.revoke group default custombuttons.Purgeover"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.grant group premium custombuttons.endoftheworld"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.grant group vip custombuttons.endoftheworld"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.grant group default custombuttons.endoftheworld"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "audio.message sendall end"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "wipeevents.run all"
    },
    {
      "Minute": "1",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "o.reload CustomButtons"
    },
    {
      "Minute": "0",
      "Hour": "15",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "jet event 20 0 36000"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.revoke group premium custombuttons.endoftheworld"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.revoke group vip custombuttons.endoftheworld"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.revoke group default custombuttons.endoftheworld"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.grant group premium custombuttons.purgeover"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.grant group vip custombuttons.purgeover"
    },
    {
      "Minute": "55",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.grant group default custombuttons.purgeover"
    },
    {
      "Minute": "58",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.reload CustomButtons"
    }
  ]
}

Share this comment


Link to comment

Hi, first of all if "UTC" is set to false then the local server time is used.
This assumes that your server has the timezone set to London UK, if not I would suggest to enable UTC and adjust your time values on the config to be also UTC based.

Try the following config, you should remove the "// comments", json usually do not like comments.

{
  "UTC": false,
  "Cron": [
    // Restart the server at 1AM local time --------------------------------------------------------
    {
      "Minute": "0",
      "Hour": "1",
      "Day": "*",
      "Month": "*",
      "DoW": "*",
      "Command": "restart 60"
    },

    // Saturday @ 2PM ------------------------------------------------------------------------------
    {
      "Minute": "0",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.grant group default custombuttons.purge"
    },

    {
      "Minute": "0",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.grant group vip custombuttons.purge"
    },

    {
      "Minute": "0",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "oxide.grant group premium custombuttons.purge"
    },

    {
      "Minute": "1",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "audio.message sendall purge"
    },

    {
      "Minute": "1",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "6",
      "Command": "o.reload CustomButtons"
    },

    // Sunday @ 12AM -------------------------------------------------------------------------------
    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.revoke group default custombuttons.purge"
    },

    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.revoke group vip custombuttons.purge"
    },

    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.revoke group premium custombuttons.purge"
    },

    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.grant group default custombuttons.purgeover"
    },

    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.grant group vip custombuttons.purgeover"
    },

    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.grant group premium custombuttons.purgeover"
    },

    {
      "Minute": "1",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "o.reload CustomButtons"
    },

    // Sunday @ 2PM --------------------------------------------------------------------------------
    {
      "Minute": "0",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.revoke group default custombuttons.purgeover"
    },

    {
      "Minute": "0",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.revoke group vip custombuttons.purgeover"
    },

    {
      "Minute": "0",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.revoke group premium custombuttons.purgeover"
    },

    {
      "Minute": "0",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.grant group default custombuttons.endoftheworld"
    },

    {
      "Minute": "0",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.grant group vip custombuttons.endoftheworld"
    },

    {
      "Minute": "0",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "oxide.grant group premium custombuttons.endoftheworld"
    },

    {
      "Minute": "1",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "audio.message sendall purge"
    },

    {
      "Minute": "1",
      "Hour": "14",
      "Day": "*",
      "Month": "*",
      "DoW": "0",
      "Command": "o.reload CustomButtons"
    },

    // Monday @ 12AM -------------------------------------------------------------------------------
    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.revoke group default custombuttons.endoftheworld"
    },

    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.revoke group vip custombuttons.endoftheworld"
    },

    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.revoke group premium custombuttons.endoftheworld"
    },

    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.grant group default custombuttons.purgeover"
    },

    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.grant group vip custombuttons.purgeover"
    },

    {
      "Minute": "0",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "oxide.grant group premium custombuttons.purgeover"
    },

    {
      "Minute": "1",
      "Hour": "0",
      "Day": "*",
      "Month": "*",
      "DoW": "1",
      "Command": "o.reload CustomButtons"
    }
  ]
}

 

  • Love 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83k

Files Sold

Total number of files sold.

1.6m

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.