crontab not running script
Hi, i have archlinux on a raspberry pi here. Mainly used for a small game server. I have a user added to run the server, and placed the following in in crontab.
Code:
* * * * * /home/redeclipse/start_server.sh The script in question is (which is executable): Code:
#!/bin/sh Basically it checks if the program is already running (sometimes the server can crash) in the hope to keep it online, however, when the server does crash, it is never restarted. Can anyone point out what is wrong? I have been told that crontab should run even when the user is logged out. I have the user "redeclipse" as a system account within group nobody. Ie; /etc/passwd entry Code:
redeclipse:x:220:99::/home/redeclipse:/bin/bash |
Ah nevermind, i hadn't enabled the "cronie" service. It is working now.
|
All times are GMT -5. The time now is 09:54 PM. |