{"action":"created","issue":{"url":"https://api.github.com/repos/javan/whenever/issues/578","labels_url":"https://api.github.com/repos/javan/whenever/issues/578/labels{/name}","comments_url":"https://api.github.com/repos/javan/whenever/issues/578/comments","events_url":"https://api.github.com/repos/javan/whenever/issues/578/events","html_url":"https://github.com/javan/whenever/issues/578","id":101865924,"number":578,"title":"crontab not updated on windows","user":{"login":"Sri-K","id":2077369,"avatar_url":"https://avatars.githubusercontent.com/u/2077369?v=3","gravatar_id":"","url":"https://api.github.com/users/Sri-K","html_url":"https://github.com/Sri-K","followers_url":"https://api.github.com/users/Sri-K/followers","following_url":"https://api.github.com/users/Sri-K/following{/other_user}","gists_url":"https://api.github.com/users/Sri-K/gists{/gist_id}","starred_url":"https://api.github.com/users/Sri-K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sri-K/subscriptions","organizations_url":"https://api.github.com/users/Sri-K/orgs","repos_url":"https://api.github.com/users/Sri-K/repos","events_url":"https://api.github.com/users/Sri-K/events{/privacy}","received_events_url":"https://api.github.com/users/Sri-K/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-19T11:08:55Z","updated_at":"2015-08-19T12:06:24Z","closed_at":"2015-08-19T12:04:40Z","body":"Hi, I installed the whenever gem to my jruby rails application,\r\n\r\n```\r\nGemfile:\r\ngem 'whenever', require: false\r\n```\r\n\r\nSchedule.rb\r\n```\r\nset :output, \"#{path}/log/cron.log\"\r\nset :environment, 'development'\r\n\r\nevery 1.minute do\r\n  command \"echo 'you can use raw cron syntax too'\", environment => \"development\"\r\nend\r\n```\r\non the gitbash terminal(windows)\r\n\r\nI tried, \r\n```\r\njruby -S whenever\r\n```\r\n* * * * * /bin/bash -l -c 'echo '\\''you can use raw cron syntax too'\\'' >> C:/Users/Sriganeshk/Documents/Promaster4Rails/log/cron.log 2>&1'\r\n\r\n'## [message] Above is your schedule file converted to cron syntax; your crontab file was not updated.\r\n'##' [message] Run `whenever --help' for more options.\r\n\r\n```\r\nwhenever --update-crontab or whenever -i\r\n```\r\nIOError: Cannot run program \"crontab\" (in directory \"C:\\Users\\Sriganeshk\\Documents\\Promaster4Rails\"): CreateProcess error=2, The system cannot find the file specified\r\n          popen at org/jruby/RubyIO.java:4344\r\n  write_crontab at C:/jruby-1.7.15/lib/ruby/gems/shared/gems/whenever-0.9.4/lib/whenever/command_line.rb:72\r\n            run at C:/jruby-1.7.15/lib/ruby/gems/shared/gems/whenever-0.9.4/lib/whenever/command_line.rb:35\r\n        execute at C:/jruby-1.7.15/lib/ruby/gems/shared/gems/whenever-0.9.4/lib/whenever/command_line.rb:6\r\n         (root) at C:/jruby-1.7.15/lib/ruby/gems/shared/gems/whenever-0.9.4/bin/whenever:41\r\n           load at org/jruby/RubyKernel.java:1081\r\n         (root) at C:/jruby-1.7.15/bin/whenever:23\r\n\r\nI dont know where I did wrong. Thanks for looking into this issue and some suggestions please.\r\n"},"comment":{"url":"https://api.github.com/repos/javan/whenever/issues/comments/132563837","html_url":"https://github.com/javan/whenever/issues/578#issuecomment-132563837","issue_url":"https://api.github.com/repos/javan/whenever/issues/578","id":132563837,"user":{"login":"Sri-K","id":2077369,"avatar_url":"https://avatars.githubusercontent.com/u/2077369?v=3","gravatar_id":"","url":"https://api.github.com/users/Sri-K","html_url":"https://github.com/Sri-K","followers_url":"https://api.github.com/users/Sri-K/followers","following_url":"https://api.github.com/users/Sri-K/following{/other_user}","gists_url":"https://api.github.com/users/Sri-K/gists{/gist_id}","starred_url":"https://api.github.com/users/Sri-K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sri-K/subscriptions","organizations_url":"https://api.github.com/users/Sri-K/orgs","repos_url":"https://api.github.com/users/Sri-K/repos","events_url":"https://api.github.com/users/Sri-K/events{/privacy}","received_events_url":"https://api.github.com/users/Sri-K/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T12:06:24Z","updated_at":"2015-08-19T12:06:24Z","body":"Thanks Javan. So it would not work on windows? For example, If I developed on LINUX and deployed to the windows OS, will it work?\r\n\r\nThanks for your response"}}