{"action":"created","issue":{"url":"https://api.github.com/repos/jasontbradshaw/gandi-dyndns/issues/4","repository_url":"https://api.github.com/repos/jasontbradshaw/gandi-dyndns","labels_url":"https://api.github.com/repos/jasontbradshaw/gandi-dyndns/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jasontbradshaw/gandi-dyndns/issues/4/comments","events_url":"https://api.github.com/repos/jasontbradshaw/gandi-dyndns/issues/4/events","html_url":"https://github.com/jasontbradshaw/gandi-dyndns/issues/4","id":163413738,"number":4,"title":"Issue running as Cron Job","user":{"login":"marxr88","id":16006222,"avatar_url":"https://avatars.githubusercontent.com/u/16006222?v=3","gravatar_id":"","url":"https://api.github.com/users/marxr88","html_url":"https://github.com/marxr88","followers_url":"https://api.github.com/users/marxr88/followers","following_url":"https://api.github.com/users/marxr88/following{/other_user}","gists_url":"https://api.github.com/users/marxr88/gists{/gist_id}","starred_url":"https://api.github.com/users/marxr88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marxr88/subscriptions","organizations_url":"https://api.github.com/users/marxr88/orgs","repos_url":"https://api.github.com/users/marxr88/repos","events_url":"https://api.github.com/users/marxr88/events{/privacy}","received_events_url":"https://api.github.com/users/marxr88/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-01T14:59:23Z","updated_at":"2016-07-06T15:23:38Z","closed_at":"2016-07-02T21:05:33Z","body":"I get no errors running it directly as:  ./gandi_dyndns.py\r\nRunning as a cron job I get the below:\r\n```\r\n2016-07-01 15:00:01,437 [DEBUG] Loading config file...\r\nTraceback (most recent call last):\r\n  File \"/opt/gandiupdate/gandi_dyndns.py\", line 326, in <module>\r\n    main(sys.argv)\r\n  File \"/opt/gandiupdate/gandi_dyndns.py\", line 322, in main\r\n    update_ip()\r\n  File \"/opt/gandiupdate/gandi_dyndns.py\", line 187, in update_ip\r\n    config = load_config()\r\n  File \"/opt/gandiupdate/gandi_dyndns.py\", line 141, in load_config\r\n    with open('config.json') as f:\r\nIOError: [Errno 2] No such file or directory: 'config.json'\r\n```\r\n\r\nThe files are all stored in /opt/gandiupdate"},"comment":{"url":"https://api.github.com/repos/jasontbradshaw/gandi-dyndns/issues/comments/230806476","html_url":"https://github.com/jasontbradshaw/gandi-dyndns/issues/4#issuecomment-230806476","issue_url":"https://api.github.com/repos/jasontbradshaw/gandi-dyndns/issues/4","id":230806476,"user":{"login":"jasontbradshaw","id":178706,"avatar_url":"https://avatars.githubusercontent.com/u/178706?v=3","gravatar_id":"","url":"https://api.github.com/users/jasontbradshaw","html_url":"https://github.com/jasontbradshaw","followers_url":"https://api.github.com/users/jasontbradshaw/followers","following_url":"https://api.github.com/users/jasontbradshaw/following{/other_user}","gists_url":"https://api.github.com/users/jasontbradshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/jasontbradshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasontbradshaw/subscriptions","organizations_url":"https://api.github.com/users/jasontbradshaw/orgs","repos_url":"https://api.github.com/users/jasontbradshaw/repos","events_url":"https://api.github.com/users/jasontbradshaw/events{/privacy}","received_events_url":"https://api.github.com/users/jasontbradshaw/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T15:23:38Z","updated_at":"2016-07-06T15:23:38Z","body":"You're welcome!"}}
{"actor":{"display_login":"jasontbradshaw"}}