SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 21/02/2009, 06:53 PM   #11
YouLose
Little Clucker
 
Join Date: Apr 2008
Posts: 2
Reputation: 0
Default Re: [Tutorial] Server Restarter for linux

The pictures dont work
YouLose is offline   Reply With Quote
Old 09/02/2011, 10:22 AM   #12
supness420
Little Clucker
 
Join Date: May 2007
Posts: 7
Reputation: 0
Default Re: [Tutorial] Server Restarter for linux

After looking all over many forums(not just these boards either), I still can not seem to find an answer to this.

I am trying to run the restart script from a crontab, but in the mail messages it tells me "/bin/sh: /path/to/my/script.sh : can not be found". What makes it more weird is, if I change the top line of the script from "#!/bin/sh" to "#1/bin/sh", then cron finds the script fine, but will not excute any commands, that I can tell, besides "echo". I have not tried this as root because I would really like to figure out a way for non-root users to be able to use crontabs. I am semi-new to linux(obviously). I am using distro "Debian Squeeze 6.0.0 AMD64". Any help would greatly be appreciated. Thanks in advance!


PS. #!/bin/bash will give the same error. While #1/bin/bash deletes teh error, but does not execute any commands.
supness420 is offline   Reply With Quote
Old 09/02/2011, 11:40 AM   #13
alpha500delta
High-roller
 
alpha500delta's Avatar
 
Join Date: Feb 2010
Posts: 1,152
Reputation: 91
Default Re: [Tutorial] Server Restarter for linux

Troooololol nice bump from over a year dude
__________________
Skype: Alpha500delta | Steam: Alpha500delta
alpha500delta is offline   Reply With Quote
Old 10/02/2011, 12:05 AM   #14
supness420
Little Clucker
 
Join Date: May 2007
Posts: 7
Reputation: 0
Default Re: [Tutorial] Server Restarter for linux

I figured it out, thanks to people at debian irc support. I was using a text editior in windows. Wouldn't work, so I uded Linux's gedit to create the script, and bingo! Sorry for the super bump! lol
supness420 is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux server restarter Kurence Server Support 4 04/10/2009 08:46 PM
[Tutorial] Server restarter for Windows boylett Server Support 6 11/08/2009 03:09 PM
[Tool/Web/Other] [APP] Server Restarter 1.0 Pixels^ Filterscripts 26 24/06/2009 03:08 PM
Linux Server Restarter [Help] BP13 Help Archive 2 11/06/2009 03:16 AM
Restarter for Linux (please help!) SEC Server Support 26 14/01/2009 02:03 PM


All times are GMT. The time now is 07:07 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.