AWOG

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Users
    • Discord
    • TeamSpeak
    • Steam Group

    [RELEASE] Cron Manager

    IW4m Administrator
    release
    2
    6
    1024
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Xerxes
      Xerxes last edited by Xerxes

      Introduction

      A plug-in allows you to run commands time based on either the game via rcon or as shell commands on your system. All timings are controlled just like cronjobs. It comes with 2 built-in commands and has a placeholder for the PID of each server for your custom scripts.

      Features:

      • Uses Cron’s syntax
      • Allows to easily send rcon commands
      • Allows to easily use build in commands
        • @kill - kills the server process
        • @processinfo - shows some basic information about the server process, C# limits us here a bit.
      • Allows to easily define custom commands
        • !!taskkill /F /PID {PID} for example does the same as @kill

      Download:

      You are NOT allowed to mirror or hot link this file.

      Download Cron Manager.

      ~Head admin

      1 Reply Last reply Reply Quote
      • K
        Kalitos last edited by

        @xerxes said in [RELEASE] Cron Manager:

        omes with 2 built-in commands and has a placeholder for the PID of each server for your custom scripts.

        I could give an example of how to use it in a T6 server that at a certain time 12:00 pm the server is closed if it is empty. If there are players, do it when it’s empty.

        Xerxes 1 Reply Last reply Reply Quote
        • Xerxes
          Xerxes @Kalitos last edited by

          @kalitos said in [RELEASE] Cron Manager:

          If there are players, do it when it’s empty.

          It doesn’t support postponing commands.

          ~Head admin

          K 1 Reply Last reply Reply Quote
          • K
            Kalitos @Xerxes last edited by

            @xerxes

            {
                  "cron": "0 0 * * * *",
                  "command": "quit",
                  "ignorePlayers": true,
                  "game": "T6"
                },
            

            According to this code, it will run at midnight every day, but since I make it run on a certain server, I must specify the ip:port or what I must do. ?

            Xerxes 1 Reply Last reply Reply Quote
            • Xerxes
              Xerxes @Kalitos last edited by

              At the moment it is only taking whole games so everything is executed for all servers of a game. If you want me to I can change it to either game or game server endpoint.

              ~Head admin

              K 1 Reply Last reply Reply Quote
              • K
                Kalitos @Xerxes last edited by

                @xerxes I would appreciate if it were possible to run it for a certain server, since I manage several t6 servers and with the plugin I would only like to restart the zombie servers. 😃

                1 Reply Last reply Reply Quote
                • First post
                  Last post