Skip to content


Source Cronjobs (SCJ) finally released!

I’m proud to anounce that my script “Source Cronjobs (SCJ)” finally gets released and has now a stable status.

It’s has the job to execute several given tasks on the server at a specific moment.

The syntax of the configuration file is the following:

// Important notes for YOU!
//
// Not for me 'cause I actually know what I've coded ;)
//
// You are allowd to use 3 types:
//
//    * 1st:        round        after x rounds (defined in "value" key) the task is executed. The value types has to be unique!
//    * 2nd:        period        after x seconds (defined in the "value" key) the task is executed. Value has to be a float!
//    * 3rd:        time        at this time (defined in the "value" key) the task will be executed (24 hour style. From 00:00 to 23:59).
//
// Multiple commands can be seperated with a ";"

"Source Cronjobs"
{
"1"
{
"type"                "round"
"value"                "2"
"task"                "say ROUND!"
}
"2"
{
"type"                "time"
"value"                "17:25"
"task"                "say TIME!"
}
"3"
{
"type"                "period"
"value"                "60.5"
"task"                "say PERIOD!"
}
}

There is also the syntax and the type of the values explained in the comment at the top of the file! You have to follow this syntax or the plugin won’t work! A Timer needs a float ;D

The plugin can be found here:

http://forums.alliedmods.net/showthread.php?t=86508

There you can read everything necassary what you need to know and how to handle with bugs you found (hope there won’t be lots of them)

So have fun with it and when you have feedback or any feature wishes, contact me or write in the thread on the great forums of the alliedmods!

Cya

Posted in Coding, Development, Sourcemod, Sourcepawn. Tagged with , , , , , , , .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.