Raised This Month: $ Target: $400
 0% 

Hobo Crontab ( Scheduler )


Post New Thread Reply   
 
Thread Tools Display Modes
hoboman
Senior Member
Join Date: Jul 2007
Old 05-18-2008 , 19:41   Re: Hobo Crontab ( Scheduler )
Reply With Quote #11

this plugin was created to run commands on the server not the clients...but u could make the clients do a command every 10 mins ( if you have amx_exec set up ) by putting something like this into the crontab.ini:

* * * 0 | amx_exec @all command
* * * 10 | amx_exec @all command
* * * 20 | amx_exec @all command
* * * 30 | amx_exec @all command
* * * 40 | amx_exec @all command
* * * 50 | amx_exec @all command

it is not pretty, but it should work...
__________________
hoboman is offline
HLM
Senior Member
Join Date: Apr 2008
Location: C:\WINDOWS\System32
Old 06-19-2009 , 23:47   messages being cut short..
Reply With Quote #12

im trying to schedule the server to say a message every 5 minutes.. heres my hobo_crontab.ini file..

Code:
* * * 00 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 05 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 10 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 15 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 20 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 25 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 30 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 35 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 40 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 45 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 50 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 55 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
and basically it gets cut off at donor[s!] (the s! is cut off and the parenthesis ends)

can someone tell me what im doing wrong?
__________________
+|- KARMA Respectively

HLM is offline
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 09-10-2009 , 22:07   Re: Hobo Crontab ( Scheduler )
Reply With Quote #13

* * 4 30 | mp_timelimit 35, mp_limitteams 1, changelevel de_aztec

when i set this, the server crashes. Is hosted on windows but i catch the error, here it is

040:23 L 09/11/2009 - 040:24: FATAL ERROR (shutting down): Host_Error: SuckOutClassname: parse error

What is wrong ? Any ideas ? Thank you for your support.

The error is from 4 30 ?? Should it be 04 30 ? instead of my original form ?

I already tested. Server crashed again, with the default maps.

Last edited by DjOptimuS; 09-10-2009 at 22:31.
DjOptimuS is offline
Old 09-11-2009, 23:35
DjOptimuS
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 09-25-2009 , 23:53   Re: Hobo Crontab ( Scheduler )
Reply With Quote #14

nobody knows how to make this great tool work ? I really need it.
DjOptimuS is offline
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 10-12-2009 , 08:15   Re: Hobo Crontab ( Scheduler )
Reply With Quote #15

bump
DjOptimuS is offline
cornads
Junior Member
Join Date: Dec 2009
Old 12-24-2010 , 14:43   Re: Hobo Crontab ( Scheduler )
Reply With Quote #16

Have the same problem with changelevel commands. Server crashes on changelevel schedule commands.

Last edited by cornads; 12-24-2010 at 14:46.
cornads is offline
rastafari
Senior Member
Join Date: May 2011
Old 08-12-2011 , 12:14   Re: messages being cut short..
Reply With Quote #17

Quote:
Originally Posted by HLM View Post
im trying to schedule the server to say a message every 5 minutes.. heres my hobo_crontab.ini file..

Code:
* * * 00 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 05 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 10 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 15 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 20 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 25 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 30 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 35 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 40 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 45 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 50 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
* * * 55 | amx_say "ES Clan is looking for donors! say !donate to see the benefits!"
and basically it gets cut off at donor[s!] (the s! is cut off and the parenthesis ends)

can someone tell me what im doing wrong?

The line you wrote is maybe long, I tried this one:
Quote:
* * * 5| say ES Clan is looking for donors!
* * * 5| say say !donate to see
* * * 5| say the benefits!
I had no better idea
__________________
rastafari is offline
Old 08-12-2011, 23:36
jennis
This message has been deleted by xPaw. Reason: Spam.
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 08-18-2011 , 03:02   Re: Hobo Crontab ( Scheduler )
Reply With Quote #18

Here is a cleaned up version with cell arrays. Max line length is 128, but can be changed by the define MAX_LINE_LENGTH.

I have not been able to test it yet; if everything works, I will update the main post.
Attached Files
File Type: sma Get Plugin or Get Source (hobo_crontab.sma - 843 views - 9.1 KB)
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
bymisi
Member
Join Date: Apr 2010
Location: Budapest / Hungary
Old 08-18-2011 , 07:14   Re: Hobo Crontab ( Scheduler )
Reply With Quote #19

Great Plugin hoboman ! i use it on my serv.
tnx
(my settings :

hobo_crontab.ini :

* * 23 00 | say Nightmode ON, exec night.cfg
* * 07 00 | say Nightmode OFF, exec server.cfg

create night.cfg file , and copy it to cstrike folder
edit crontab.cfg something like these:


mapchangecfgfile night.cfg
amx_remove_dropped 1
amx_remove_default 1
mp_friendlyfire 0
mp_flashlight 1
mp_footsteps 1
mp_buytime 1
bot_autokill 0
bot_difficulty 1
bot_balance 1
bot_join_team any
bot_autoadd 14
bot_quota 14
knife_speed 500
amx_gungame 0
amx_hpk 150 3 10 30 1
csdm_enable
csdm_active 1
mp_timelimit 600

_

it works Perfectly for me !

Last edited by bymisi; 08-18-2011 at 07:23.
bymisi is offline
Send a message via Skype™ to bymisi
bymisi
Member
Join Date: Apr 2010
Location: Budapest / Hungary
Old 08-18-2011 , 07:31   Re: messages being cut short..
Reply With Quote #20

Here is the solution:
create es_clan.cfg file in your 's Server cstrike folder
edit es_clan.cfg :
say "ES Clan is looking for donors !donate to see the benefits!"
than edit hobo_crontab.ini :

* * * 00 | exec es_clan.cfg
* * * 05 | exec es_clan.cfg
* * * 10 | exec es_clan.cfg
* * * 15 | exec es_clan.cfg
* * * 20 | exec es_clan.cfg
* * * 25 | exec es_clan.cfg
* * * 30 | exec es_clan.cfg
* * * 35 | exec es_clan.cfg
* * * 40 | exec es_clan.cfg
* * * 45 | exec es_clan.cfg
* * * 50 | exec es_clan.cfg
* * * 55 | exec es_clan.cfg

tested!

Last edited by bymisi; 08-18-2011 at 07:36.
bymisi is offline
Send a message via Skype™ to bymisi
Reply



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 00:33.


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