{"action":"opened","issue":{"url":"https://api.github.com/repos/vysheng/tg/issues/530","labels_url":"https://api.github.com/repos/vysheng/tg/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/vysheng/tg/issues/530/comments","events_url":"https://api.github.com/repos/vysheng/tg/issues/530/events","html_url":"https://github.com/vysheng/tg/issues/530","id":77409148,"number":530,"title":"Not sending messages with -e from crontab","user":{"login":"andreaskoelsch","id":6519483,"avatar_url":"https://avatars.githubusercontent.com/u/6519483?v=3","gravatar_id":"","url":"https://api.github.com/users/andreaskoelsch","html_url":"https://github.com/andreaskoelsch","followers_url":"https://api.github.com/users/andreaskoelsch/followers","following_url":"https://api.github.com/users/andreaskoelsch/following{/other_user}","gists_url":"https://api.github.com/users/andreaskoelsch/gists{/gist_id}","starred_url":"https://api.github.com/users/andreaskoelsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreaskoelsch/subscriptions","organizations_url":"https://api.github.com/users/andreaskoelsch/orgs","repos_url":"https://api.github.com/users/andreaskoelsch/repos","events_url":"https://api.github.com/users/andreaskoelsch/events{/privacy}","received_events_url":"https://api.github.com/users/andreaskoelsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-17T21:57:46Z","updated_at":"2015-05-17T21:57:46Z","closed_at":null,"body":"Hi,\r\nI just downloaded the most recent version of telegram, hoping it would work now... I just want to send messages via crontab. When I execute a script it works. When I execute it from crontab it does not work. However, it used to work in older versions, since I did not change the script.\r\nHere the script:\r\n\r\n    #!/bin/bash\r\n    /home/user/tg/bin/telegram-cli -p cron -k /home/user/tg/tg-server.pub -W -e \"msg contact text\"\r\n\r\nworks when executed, but if I run it via crontab it behaves like there are no \"\" in the end\r\nAny ideas?\r\n\r\nFor now I will stick with the old version where it works, but I want to upgrade, since the old one produces a memory leak which I hope is fixed already."}}