--
[ Picked text/plain from multipart/alternative ]
Are your sh files expecting you to be in a certain directory when run, and you 
are forgetting to cd there in your script?

The easiest way is to probably let us see the script in question.

Rónai György <[EMAIL PROTECTED]> wrote: [ Converted text/html to text/plain ]
Hi
I was experimenting with a special approach, of restarting my processes on a
box with crontab scheduling.
I wrote a crontab, to run an sh every night.
This sh file contained a pkill command, that successfully reconigezd my srcds
processes, and killed them.
There is 1 sh file for each of my processes, to start them. These containing
the command to start them in screen, and an echo text.
Ive called those sh files, from the crontabbed one, after the processes were
killed.
Now, all echos are displayed in the crontab mail i get (so the sh files are
definitely called), but none of the screens is starting.
They only start, if i start them manually via SSH access. (i just press enter
on the sh file in mc)
But if they are called from crontab and script automatically, none of them
starts, just the echos are executed.
Any ideas why is this? Or is this a completely wrong approach, and there are
easier ways?
Thx
Locutus

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to