Raised This Month: $150 Target: $400
 37% 

[ANY] Server Crontab


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dubbeh
Senior Member
Join Date: Jul 2007
Location: UK
Plugin ID:
159
Plugin Version:
2.0.0.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Run server jobs at certain Minutes, Hours, Days of the Week and Days of the Month. Using a Cron like syntax.
    Old 08-25-2007 , 19:43   [ANY] Server Crontab
    Reply With Quote #1

    Server Crontab v2.0.0.0

    About the plugin:
    Run server jobs at certain Minutes, Hours, Days of the Week and Days of the Month. Admins will need the ROOT access flag to Add, Remove or View Cronjobs. To get a better idea of what cronjobs are, check out the official Wikipedia article here

    Full documentation and Examples
    Download

    The actual plugin won't compile directly on the forums because of custom natives. Full source is included in the download.

    Have fun, dubbeh
    __________________
    SM Plugins - dubbeh.net - Plugin requests are welcome

    Last edited by dubbeh; 10-13-2016 at 18:20. Reason: Updated
    dubbeh is offline
    MoggieX
    Veteran Member
    Join Date: Aug 2007
    Location: n00bville
    Old 08-26-2007 , 21:09   Re: Basic Server Crontab
    Reply With Quote #2

    Another ace addition!

    I was looking at the chron one and decided it was a little OTT, this looks perfect. Will be giving this a bash tomorrow.

    BTW really dumb question, does this execute on every map change? As in your example you have used the plugin to change the mapcyclefile, would you remove the mapcyclefile reference from the server.cfg file or just leave it be???

    Matt
    __________________
    MoggieX is offline
    Send a message via Skype™ to MoggieX
    pimpinjuice
    Veteran Member
    Join Date: May 2006
    Old 08-27-2007 , 02:12   Re: Basic Server Crontab
    Reply With Quote #3

    Great job :]
    __________________
    pimpinjuice is offline
    Send a message via AIM to pimpinjuice
    dubbeh
    Senior Member
    Join Date: Jul 2007
    Location: UK
    Old 08-27-2007 , 14:56   Re: Basic Server Crontab
    Reply With Quote #4

    thx pimpinjuice

    MoggieX this runs the selected config/setting at the specified time in the jobs.ini - recommend to remove the settings you'll be changing from the server.cfg. so it doesn't get reset at every map change

    next release will include checking that the job.ini settings are in valid ranges & allow the hour option to have a wildcard
    __________________
    SM Plugins - dubbeh.net - Plugin requests are welcome

    Last edited by dubbeh; 08-27-2007 at 14:58.
    dubbeh is offline
    Isias
    Senior Member
    Join Date: Apr 2006
    Old 08-27-2007 , 16:56   Re: Basic Server Crontab
    Reply With Quote #5

    Could you add a roundend / roundstart feature? Not really a cronjob, but would be usefull for several functions.
    Isias is offline
    GCFaith
    Junior Member
    Join Date: Jun 2007
    Location: Rotterdam, The Netherlan
    Old 08-29-2007 , 10:01   Re: Basic Server Crontab
    Reply With Quote #6

    Thanx for filling my request When I have some time im gonna test it
    __________________
    www.steamfriends.com
    Built on Communities! For All Your Steam Resources.

    www.sourcebans.net
    Advanced Ban Management for the Source engine.
    GCFaith is offline
    Nican
    Veteran Member
    Join Date: Jan 2006
    Location: NY
    Old 08-29-2007 , 10:21   Re: Basic Server Crontab
    Reply With Quote #7

    dubbeh wouldn't it be nice if plugins could register cron jobs for their own use?


    If you don't know how, I can help you
    __________________
    http://www.nican132.com
    I require reputation!
    Nican is offline
    Send a message via ICQ to Nican Send a message via MSN to Nican
    MoggieX
    Veteran Member
    Join Date: Aug 2007
    Location: n00bville
    Old 08-29-2007 , 16:05   Re: Basic Server Crontab
    Reply With Quote #8

    Quote:
    Originally Posted by dubbeh View Post
    thx pimpinjuice

    MoggieX this runs the selected config/setting at the specified time in the jobs.ini - recommend to remove the settings you'll be changing from the server.cfg. so it doesn't get reset at every map change

    next release will include checking that the job.ini settings are in valid ranges & allow the hour option to have a wildcard
    Heya,

    Many thanks for clarification for that!

    Oh and ty for building it!!!

    Matt
    __________________
    MoggieX is offline
    Send a message via Skype™ to MoggieX
    dubbeh
    Senior Member
    Join Date: Jul 2007
    Location: UK
    Old 08-29-2007 , 21:14   Re: Basic Server Crontab
    Reply With Quote #9

    Quote:
    Originally Posted by -<[PAGC]>- Isias View Post
    Could you add a roundend / roundstart feature? Not really a cronjob, but would be usefull for several functions.
    I'll get something like that added in a later version, got a few ideas for the internal structure that will allow jobs like that to be set

    @nican nice idea. I could add some stocks RegisterCronJob then return the job index for removal later on & UnregisterCronJob using the job index. I'll have a look into it. Also planning on using the adt array for an unlimited number of jobs soon ;)
    __________________
    SM Plugins - dubbeh.net - Plugin requests are welcome

    Last edited by dubbeh; 08-29-2007 at 21:26.
    dubbeh is offline
    Nican
    Veteran Member
    Join Date: Jan 2006
    Location: NY
    Old 08-29-2007 , 23:38   Re: Basic Server Crontab
    Reply With Quote #10

    Yay!

    If you need help, created the natives, using adt_array, just PM me...
    __________________
    http://www.nican132.com
    I require reputation!
    Nican is offline
    Send a message via ICQ to Nican Send a message via MSN to Nican
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 10:42.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode