{"action":"created","issue":{"url":"https://api.github.com/repos/mausch/QuartzNetWebConsole/issues/27","labels_url":"https://api.github.com/repos/mausch/QuartzNetWebConsole/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/mausch/QuartzNetWebConsole/issues/27/comments","events_url":"https://api.github.com/repos/mausch/QuartzNetWebConsole/issues/27/events","html_url":"https://github.com/mausch/QuartzNetWebConsole/issues/27","id":118735175,"number":27,"title":"Clicking Trigger button throws exception","user":{"login":"berniezhao","id":5608396,"avatar_url":"https://avatars.githubusercontent.com/u/5608396?v=3","gravatar_id":"","url":"https://api.github.com/users/berniezhao","html_url":"https://github.com/berniezhao","followers_url":"https://api.github.com/users/berniezhao/followers","following_url":"https://api.github.com/users/berniezhao/following{/other_user}","gists_url":"https://api.github.com/users/berniezhao/gists{/gist_id}","starred_url":"https://api.github.com/users/berniezhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berniezhao/subscriptions","organizations_url":"https://api.github.com/users/berniezhao/orgs","repos_url":"https://api.github.com/users/berniezhao/repos","events_url":"https://api.github.com/users/berniezhao/events{/privacy}","received_events_url":"https://api.github.com/users/berniezhao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-25T00:51:12Z","updated_at":"2015-11-25T06:10:09Z","closed_at":"2015-11-25T06:09:40Z","body":"What is the purpose of the \"Trigger\" button?\r\nMy understanding is that it will trigger the job immediately.\r\nHowever it's throwing:\r\n`\r\nQuartz.SchedulerException: Job threw an unhandled exception. ---> Quartz.JobPersistenceException: Couldn't store job: Unable to store Job: 'epg.epg-export', because one already exists with this identification. ---> Quartz.ObjectAlreadyExistsException: Unable to store Job: 'epg.epg-export', because one already exists with this identification.\r\n   at Quartz.Impl.AdoJobStore.JobStoreSupport.StoreJob(ConnectionAndTransactionHolder conn, IJobDetail newJob, Boolean replaceExisting) in c:\\Program Files (x86)\\Jenkins\\workspace\\Quartz.NET\\src\\Quartz\\Impl\\AdoJobStore\\JobStoreSupport.cs:line 913\r\n`\r\n\r\nI think when you call `StdScheduler.ScheduleJob()`, it will actually try store the JobDetail AGAIN.  This is causing issue because it conflicts with existing DB primary key."},"comment":{"url":"https://api.github.com/repos/mausch/QuartzNetWebConsole/issues/comments/159501968","html_url":"https://github.com/mausch/QuartzNetWebConsole/issues/27#issuecomment-159501968","issue_url":"https://api.github.com/repos/mausch/QuartzNetWebConsole/issues/27","id":159501968,"user":{"login":"berniezhao","id":5608396,"avatar_url":"https://avatars.githubusercontent.com/u/5608396?v=3","gravatar_id":"","url":"https://api.github.com/users/berniezhao","html_url":"https://github.com/berniezhao","followers_url":"https://api.github.com/users/berniezhao/followers","following_url":"https://api.github.com/users/berniezhao/following{/other_user}","gists_url":"https://api.github.com/users/berniezhao/gists{/gist_id}","starred_url":"https://api.github.com/users/berniezhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berniezhao/subscriptions","organizations_url":"https://api.github.com/users/berniezhao/orgs","repos_url":"https://api.github.com/users/berniezhao/repos","events_url":"https://api.github.com/users/berniezhao/events{/privacy}","received_events_url":"https://api.github.com/users/berniezhao/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T06:10:09Z","updated_at":"2015-11-25T06:10:09Z","body":"Found the issue at my job chaining.  Sorry for the false alarm ;)"}}