ich habe ein sehr großes Problem:
Confixx soll ein paar Sachen aktualisieren, noch dazu sollen Gameserver stats aktualisiert werden. Der Confixx Eintrag war schon vorhanden, funktionierte aber nicht. Der Gameserver Eintrag funktioniert auch nicht.
Für Confixx hier mal die Daten:
joe /etc/crontab zeigt das an:
crontab -e zeigt folgendes:IW /etc/crontab (Modified) Row 11 Col 23 3:57 Ctrl-K H for help
SHELL=/bin/sh
PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin
MAILTO=root
#
# check scripts in cron.hourly, cron.daily, cron.weekly, and cron.monthly
#
-*/15 * * * * [ADMINBENUTZERNAME] test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1
24 * * * * [ADMINBENUTZERNAME] rm -f /var/spool/cron/lastrun/cron.hourly
48 5 * * * [ADMINBENUTZERNAME] rm -f /var/spool/cron/lastrun/cron.daily
50 1 * * 6 [ADMINBENUTZERNAME] rm -f /var/spool/cron/lastrun/cron.weekly
19 1 1 * * [ADMINBENUTZERNAME] rm -f /var/spool/cron/lastrun/cron.monthly
für den gameserver habe ich einen extra benutzer, mit dem auch die stats aktualisiert werden.-*/15 * * * * [ADMINBENUTZERNAME] test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-cron
24 * * * * [ADMINBENUTZERNAME] rm -f /var/spool/cron/lastrun/cron.hourly
48 5 * * * [ADMINBENUTZERNAME] rm -f /var/spool/cron/lastrun/cron.daily
50 1 * * 6 [ADMINBENUTZERNAME] rm -f /var/spool/cron/lastrun/cron.weekly
19 1 1 * * [ADMINBENUTZERNAME] rm -f /var/spool/cron/lastrun/cron.monthly
*/2 * * * * [ADMINBENUTZERNAME] /usr/local/confixx/confixx_counterscript.pl
crontab -e zeigt folgendes:
ein neustarten von cron bringt nichts. Wenn ich den Befehl vom Confixx doer vom Gameserver manuell einfüge, funktioniert es, sofern ich den richtigen Benutzer verwende. Das Verzeichniss ist für das Ausführen egal. Ich habe auch schon bei googel geguckt, hat mir aber leider nichts gebracht.
0-59/5 * * * * [GAMESERVERBENUTZER] /home/gameserver1/selectbfstats/bin/selectbf.sh
