{"action":"created","issue":{"url":"https://api.github.com/repos/pyload/pyload/issues/2779","repository_url":"https://api.github.com/repos/pyload/pyload","labels_url":"https://api.github.com/repos/pyload/pyload/issues/2779/labels{/name}","comments_url":"https://api.github.com/repos/pyload/pyload/issues/2779/comments","events_url":"https://api.github.com/repos/pyload/pyload/issues/2779/events","html_url":"https://github.com/pyload/pyload/issues/2779","id":212099816,"number":2779,"title":"QUESTION - See/Send pyLoad event-script output to a log file","user":{"login":"Ryan747800B","id":17040983,"avatar_url":"https://avatars1.githubusercontent.com/u/17040983?v=3","gravatar_id":"","url":"https://api.github.com/users/Ryan747800B","html_url":"https://github.com/Ryan747800B","followers_url":"https://api.github.com/users/Ryan747800B/followers","following_url":"https://api.github.com/users/Ryan747800B/following{/other_user}","gists_url":"https://api.github.com/users/Ryan747800B/gists{/gist_id}","starred_url":"https://api.github.com/users/Ryan747800B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ryan747800B/subscriptions","organizations_url":"https://api.github.com/users/Ryan747800B/orgs","repos_url":"https://api.github.com/users/Ryan747800B/repos","events_url":"https://api.github.com/users/Ryan747800B/events{/privacy}","received_events_url":"https://api.github.com/users/Ryan747800B/received_events","type":"User","site_admin":false},"labels":[{"id":27950839,"url":"https://api.github.com/repos/pyload/pyload/labels/question","name":"question","color":"800080","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-03-06T11:49:58Z","updated_at":"2017-03-10T09:06:25Z","closed_at":null,"body":"I tried to send the output log of a script that runs from `package_finished` to a log file (and to see it remotely with `cp` command) and in someway it works but I don't see the output progress in Terminal (it works, but there isn't the spinning progress wheel `'/' '-' '\\' '|'` )\r\n\r\n```\r\n#!/bin/bash\r\n\r\nmarks=( '/' '-' '\\' '|' )\r\n\r\nsh /opt/etc/pyload/scripts/package_finished/SCRIPTS/Script.sh >>/opt/etc/pyload/Logs/ScriptLog.txt 2>&1\r\n\r\ni=0\r\ntail -f /opt/etc/pyload/Logs/ScriptLog.txt | while read LOGLINE\r\ndo\r\n    printf \"\\rScript is running ... ${marks[i++ % ${#marks[@]}]}\"\r\n    sleep 0.1\r\n    [[ \"${LOGLINE}\" == *\"Completed!\"* ]] && (pkill -P $$ tail; printf \"\\rScript is running, please wait ... Done.\\n\";)\r\ndone\r\n```"},"comment":{"url":"https://api.github.com/repos/pyload/pyload/issues/comments/285615843","html_url":"https://github.com/pyload/pyload/issues/2779#issuecomment-285615843","issue_url":"https://api.github.com/repos/pyload/pyload/issues/2779","id":285615843,"user":{"login":"GammaC0de","id":11036551,"avatar_url":"https://avatars2.githubusercontent.com/u/11036551?v=3","gravatar_id":"","url":"https://api.github.com/users/GammaC0de","html_url":"https://github.com/GammaC0de","followers_url":"https://api.github.com/users/GammaC0de/followers","following_url":"https://api.github.com/users/GammaC0de/following{/other_user}","gists_url":"https://api.github.com/users/GammaC0de/gists{/gist_id}","starred_url":"https://api.github.com/users/GammaC0de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GammaC0de/subscriptions","organizations_url":"https://api.github.com/users/GammaC0de/orgs","repos_url":"https://api.github.com/users/GammaC0de/repos","events_url":"https://api.github.com/users/GammaC0de/events{/privacy}","received_events_url":"https://api.github.com/users/GammaC0de/received_events","type":"User","site_admin":false},"created_at":"2017-03-10T09:06:25Z","updated_at":"2017-03-10T09:06:25Z","body":"I just noticed, are you suffering from the same problem as in #2735 but with Alldebrid?"}}
{"actor":{"display_login":"GammaC0de"}}