Raised This Month: $51 Target: $400
 12% 

linux scripts


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 01-08-2014 , 11:38   linux scripts
Reply With Quote #1

Hey. Do I need to run scripts manually after server reboot or cron jobs are enough?
FiFiX is offline
Send a message via Skype™ to FiFiX
Walliski
Senior Member
Join Date: May 2013
Old 01-08-2014 , 12:48   Re: linux scripts
Reply With Quote #2

If you have both cronjobs there, they are everything you need. The one that is run each fifth minute or so checks that the daemon is running, and starts it if it isnt, and the other one generates awards daily.

So cronjobs should be enough.
Walliski is offline
kikotte
Member
Join Date: Oct 2013
Old 01-08-2014 , 12:49   Re: linux scripts
Reply With Quote #3

It is possible to write into the cron jobs if you restart the computer or turn it off, it will run it.

@reboot
kikotte is offline
Send a message via Skype™ to kikotte
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 01-08-2014 , 13:01   Re: linux scripts
Reply With Quote #4

Kay. I've got one more question. What about scripts_path/scripts/logs/* ? Can I delete them or turn logging off?
FiFiX is offline
Send a message via Skype™ to FiFiX
kikotte
Member
Join Date: Oct 2013
Old 01-08-2014 , 13:37   Re: linux scripts
Reply With Quote #5

Want to turn the log?
kikotte is offline
Send a message via Skype™ to kikotte
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 01-08-2014 , 14:17   Re: linux scripts
Reply With Quote #6

I want to turn off logs in script path, or delete if the script doesn't need it.
FiFiX is offline
Send a message via Skype™ to FiFiX
kikotte
Member
Join Date: Oct 2013
Old 01-08-2014 , 14:41   Re: linux scripts
Reply With Quote #7

Try this'm not sure if it is right?

Open hlstats.conf

Code:
DebugLevel 0
kikotte is offline
Send a message via Skype™ to kikotte
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 01-08-2014 , 15:14   Re: linux scripts
Reply With Quote #8

Not php logs, but linux script's logs.
FiFiX is offline
Send a message via Skype™ to FiFiX
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 02-04-2014 , 07:32   Re: linux scripts
Reply With Quote #9

anyone?
FiFiX is offline
Send a message via Skype™ to FiFiX
Walliski
Senior Member
Join Date: May 2013
Old 02-04-2014 , 12:07   Re: linux scripts
Reply With Quote #10

Then you should do what he told you, because he is telling you how to turn of logs for the perl daemon. Dont forget to restart it afterwards.
Walliski is offline
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 19:06.


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