Hallo Synologygemeinde,
ich versuche heut schon den ganzen Tag mich durch Linux durchzuquälen.
Ich versuche das TSN Rankingsystem für TS3Server (http://ts-n.net/ranksystem.php) auf der Synology irgendwie zum laufen zu bekommen.
Ich scheitere dabei das php script als Cronjob einzurichten:
Ich bin bis zur Crontable gekommen, danach scheint der Kommandoaufruf allerdings nicht korrekt zu sein.
sprich ich logge mich bei DSM 6.0 SSH als Admin ein, dann sudo vi /etc/crontab, dann habe ich die kommandozeile abgeändert in:
*/10 * * * * root php /path/to/your/websever/path/to/ranksystem/worker.php check >/dev/null 2>&1
hat jemand eine Idee warum das net läuft?
ich versuche heut schon den ganzen Tag mich durch Linux durchzuquälen.
Ich versuche das TSN Rankingsystem für TS3Server (http://ts-n.net/ranksystem.php) auf der Synology irgendwie zum laufen zu bekommen.
Ich scheitere dabei das php script als Cronjob einzurichten:
4. Create a cronjob (here described for debian/ubuntu) for the worker to observer the activity of the clients (and more stuff):
Login in to your server via ssh.
Enter the command "crontab -e" (In vim you have to press "i" to be able to edit the text)
Paste the following lines in a new line (you have to edit the path):
*/10 * * * * sudo -u www-data php /path/to/your/websever/path/to/ranksystem/worker.php check >/dev/null 2>&1
Replace www-data with your webuser! If you want, you can edit the connection time.. Here it is every 10 minutes.
Save and quit the crontable.
Ich bin bis zur Crontable gekommen, danach scheint der Kommandoaufruf allerdings nicht korrekt zu sein.
sprich ich logge mich bei DSM 6.0 SSH als Admin ein, dann sudo vi /etc/crontab, dann habe ich die kommandozeile abgeändert in:
*/10 * * * * root php /path/to/your/websever/path/to/ranksystem/worker.php check >/dev/null 2>&1
hat jemand eine Idee warum das net läuft?