[ Converted text/html to text/plain ] Enough rights to do WHAT? The kill is performed, since the processes vanish, as i wrote. The echoes also work, in the called scripts. Just the new screens, with the new server process instances do not start. (But if i do it manually, by executing the startup script, they start normally. The last step (screens) only dont work if crontab calls the script.) Locutus k-mystik írta:
Does the user which executes the kill have enough permissions to do it? You can try the following command to get an output: su - username -c "/home/username/path/to/kill/script" -- k-mystik! -- get2play administrator web: www.get2play.com[1] irc: #get2play Rónai György 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[2] _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux[3] ===References:=== 1. http://www.get2play.com 2. http://list.valvesoftware.com/mailman/listinfo/hlds_linux 3. 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

