{"action":"closed","issue":{"url":"https://api.github.com/repos/mashlol/notify/issues/30","repository_url":"https://api.github.com/repos/mashlol/notify","labels_url":"https://api.github.com/repos/mashlol/notify/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/mashlol/notify/issues/30/comments","events_url":"https://api.github.com/repos/mashlol/notify/issues/30/events","html_url":"https://github.com/mashlol/notify/issues/30","id":335158492,"node_id":"MDU6SXNzdWUzMzUxNTg0OTI=","number":30,"title":"Execution from crontab","user":{"login":"solifugo","id":34858013,"node_id":"MDQ6VXNlcjM0ODU4MDEz","avatar_url":"https://avatars1.githubusercontent.com/u/34858013?v=4","gravatar_id":"","url":"https://api.github.com/users/solifugo","html_url":"https://github.com/solifugo","followers_url":"https://api.github.com/users/solifugo/followers","following_url":"https://api.github.com/users/solifugo/following{/other_user}","gists_url":"https://api.github.com/users/solifugo/gists{/gist_id}","starred_url":"https://api.github.com/users/solifugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solifugo/subscriptions","organizations_url":"https://api.github.com/users/solifugo/orgs","repos_url":"https://api.github.com/users/solifugo/repos","events_url":"https://api.github.com/users/solifugo/events{/privacy}","received_events_url":"https://api.github.com/users/solifugo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-24T07:32:16Z","updated_at":"2018-10-13T23:10:49Z","closed_at":"2018-10-13T23:10:49Z","author_association":"NONE","body":"Hi, sorry if Im opening an issue for something is probably my lack of linux understanding...\r\nIm trying to use notify to send me a script's result using cron.\r\nIm able to execute notify from command line, but if I execute it from crontab, is not working:\r\n\r\nI tried like this:\r\ncrontab content:\r\n\r\n19 08 * * * /home/solifugo/notify_test.sh\r\n22 08 * * * /usr/local/bin/notify -t \"test2\"\r\n \r\nnone of them are working executed by cron, but they are both fine if I do it from command line.\r\n\r\nraspi: cat /home/solifugo/notify_test.sh\r\n#!/bin/bash\r\n/usr/local/bin/notify -t \"test\"\r\nraspi:\r\n\r\nI read something about Node script execution, but not sure if that applies here.\r\n\r\nAnyway, hope someone can guide me.\r\n\r\nBtw, the app is very nice. Simple and exactly what I really need (once I get crontab script working.. :P )"}}
{"actor":{"display_login":"mashlol"}}