:log info "ON"
/tool fetch url="https://slack.com/api/chat.postMessage?token=xoxp-1234567890-12345678901-12345678901-1qaz2wsx3edc4rfv5tgb6yhn7ujm8iklo9&channel=@slackusername&text='ON'&icon_url=http://www.zlmedia.hr/wp-content/uploads/2013/05/mikrotik-zlmediahr-icon.png&as_user=false&username=mikrotik";
But only first command works. I get no message in Slack.
But if I run second comand in console or from script in script tool - it works.
What I did wrong?
tools/netwach host=74.125.135.138
up= /tool e-mail send to=“youremail@gmail.com” subject=“Internet Connection Status” body=([/system identity get name] . " back UP in " . [/system clock get time] . " on date " . [/system clock get date])
down= /tool e-mail send to=“youremail@gmail.com” subject=“Internet Connection Status” body=([/system identity get name] . " was DOWN in " . [/system clock get time] . " on date " . [/system clock get date])