Raised This Month: $32 Target: $400
 8% 

Solved easy cronjob


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Munoon
Member
Join Date: Jul 2018
Location: www.Train4Game.com
Old 11-01-2018 , 14:24   easy cronjob
Reply With Quote #1

Hi guys! I need an a cronjob plugin which:
  1. Will start working when round start (example: i have a command: on first minute say hi in console, so plugin in all rounds on first minute will say hi)
  2. I may configurate it in seconds, minutes and hours

Thank you in advance

Last edited by Munoon; 11-05-2018 at 11:25.
Munoon is offline
Munoon
Member
Join Date: Jul 2018
Location: www.Train4Game.com
Old 11-01-2018 , 15:14   Re: easy cronjob
Reply With Quote #3

I dont know any SourceMod code((

Last edited by Munoon; 11-01-2018 at 15:15.
Munoon is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 11-01-2018 , 20:07   Re: easy cronjob
Reply With Quote #4

5 minutes made, 5 minutes tested, 5 minutes of it working.

(it has nothing to kill the active timers at the end of a round, beware)
Attached Files
File Type: sp Get Plugin or Get Source (round_tasks.sp - 162 views - 1.5 KB)
File Type: cfg round_tasks.cfg (235 Bytes, 65 views)

Last edited by Drixevel; 11-01-2018 at 20:08.
Drixevel is offline
Munoon
Member
Join Date: Jul 2018
Location: www.Train4Game.com
Old 11-05-2018 , 01:09   Re: easy cronjob
Reply With Quote #5

Quote:
Originally Posted by Drixevel View Post
5 minutes made, 5 minutes tested, 5 minutes of it working.

(it has nothing to kill the active timers at the end of a round, beware)
Oh, thank you a lot! May I use for example hours with secconds?

Last edited by Munoon; 11-05-2018 at 01:14.
Munoon is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-09-2018 , 07:29   Re: easy cronjob
Reply With Quote #6

Could this be used to restart my server once every x hours? Or does it reset every round so a 24 hour timer is obviously not possible?
Thanks
__________________
Obyboby is offline
Munoon
Member
Join Date: Jul 2018
Location: www.Train4Game.com
Old 11-09-2018 , 16:02   Re: easy cronjob
Reply With Quote #7

Quote:
Originally Posted by Obyboby View Post
Could this be used to restart my server once every x hours? Or does it reset every round so a 24 hour timer is obviously not possible?
Thanks
You can set like: restart server on 60 mins after round start
Munoon is offline
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 09:41.


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