From: Nuno Maia <nmsm...@gmail.com>
Date: Mon, 19 Mar 2012 22:03:07 +0000
Local: Mon, Mar 19 2012 6:03 pm
Subject: Re: [quartznet:2956] Scheduled Job Only Runs the First Time (should be every 24hrs.)
I think your issue is in scope of variable sched, use a Singleton
pattern for it. On Mon, Mar 19, 2012 at 5:08 PM, Will Lingard <wlingar...@gmail.com> wrote:
> Hi Group, > My first post in here, hoping perhaps someone can help out a little. > I've started using Quartz recently and got things setup and working. I > My code below.... any help much appreciated; thanks. > Best Regards, > Will > ========================================================== > ''' <summary> > Try > Dim sf As ISchedulerFactory = New > If sched.CheckExists(New JobKey(name, group)) Then > sched.Start() > Dim jobDetail As IJobDetail = > Dim trigger As ITrigger > sched.ScheduleJob(jobDetail, trigger) > Catch ex As Exception > DisplaySavedSuccessOrFail(False, ex.Message) > End Try > End Sub > ========================================================== > -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||