{"action":"created","issue":{"url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/56","labels_url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/56/comments","events_url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/56/events","html_url":"https://github.com/jmrozanec/cron-utils/issues/56","id":120323329,"number":56,"title":"UNIX Cron to QUARTZ expressions incorrect","user":{"login":"chasegawa","id":5993036,"avatar_url":"https://avatars.githubusercontent.com/u/5993036?v=3","gravatar_id":"","url":"https://api.github.com/users/chasegawa","html_url":"https://github.com/chasegawa","followers_url":"https://api.github.com/users/chasegawa/followers","following_url":"https://api.github.com/users/chasegawa/following{/other_user}","gists_url":"https://api.github.com/users/chasegawa/gists{/gist_id}","starred_url":"https://api.github.com/users/chasegawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chasegawa/subscriptions","organizations_url":"https://api.github.com/users/chasegawa/orgs","repos_url":"https://api.github.com/users/chasegawa/repos","events_url":"https://api.github.com/users/chasegawa/events{/privacy}","received_events_url":"https://api.github.com/users/chasegawa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jmrozanec/cron-utils/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jmrozanec/cron-utils/labels/helpwanted","name":"helpwanted","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-04T03:17:33Z","updated_at":"2015-12-04T15:29:53Z","closed_at":null,"body":"Quartz does not support specifying both a day-of-week and a day-of-month value (you must currently use the '?' character in one of these fields).\r\n\r\nFor example: 0 0 0 * * 1 * is *not* legal in quartz, instead it must be: 0 0 0 ? * 1 * \r\n\r\nCode such as: \r\n```java\r\n        CronDefinition cronDefinition = CronDefinitionBuilder.instanceDefinitionFor(CronType.UNIX);\r\n        CronDefinition quartzDefinition = CronDefinitionBuilder.instanceDefinitionFor(CronType.QUARTZ);\r\n        CronMapper cronMapper = new CronMapper(cronDefinition, quartzDefinition);\r\n        CronParser cronParser = new CronParser(cronDefinition);\r\n        Cron cronCron = cronParser.parse(cronString);\r\n        Cron quartzCron = cronMapper.map(cronCron);\r\n        String result = quartzCron.asString();\r\n```\r\nWill take 0 0/2 * * * and produce 0 /2 * * * * - it should be 0 /2 * * ? * (or possibly 0 /2 ? * * *)\r\n\r\nUsing quartz 2.2.2 and cron-utils 3.1.2"},"comment":{"url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/comments/161995905","html_url":"https://github.com/jmrozanec/cron-utils/issues/56#issuecomment-161995905","issue_url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/56","id":161995905,"user":{"login":"jmrozanec","id":1128080,"avatar_url":"https://avatars.githubusercontent.com/u/1128080?v=3","gravatar_id":"","url":"https://api.github.com/users/jmrozanec","html_url":"https://github.com/jmrozanec","followers_url":"https://api.github.com/users/jmrozanec/followers","following_url":"https://api.github.com/users/jmrozanec/following{/other_user}","gists_url":"https://api.github.com/users/jmrozanec/gists{/gist_id}","starred_url":"https://api.github.com/users/jmrozanec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmrozanec/subscriptions","organizations_url":"https://api.github.com/users/jmrozanec/orgs","repos_url":"https://api.github.com/users/jmrozanec/repos","events_url":"https://api.github.com/users/jmrozanec/events{/privacy}","received_events_url":"https://api.github.com/users/jmrozanec/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T15:29:53Z","updated_at":"2015-12-04T15:29:53Z","body":"@chasegawa Thank you for reporting this! Just for the record: the issue is similar to the one reported in #36 \r\nContributions are welcome! "}}