Quantcast
Channel: Plesk Forum
Viewing all articles
Browse latest Browse all 45836

Scheduled Task - Shell Script - Create new Screen

$
0
0
Hello there.

How to create a new Screen (screen -d -m -S SomethingName sh SomethingToDoInside.sh) straight from a scheduled task

The problem: the task finishes and theres NO new screen with the specifed shell script running inside.

The screen-command works correctly on the lines before.

here's the current script (its german. but it handles a timed server-restart of a minecraft server)

echo "Server-Neustart startet." function find_screen { if...

Scheduled Task - Shell Script - Create new Screen

Viewing all articles
Browse latest Browse all 45836

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>