Note that there are some explanatory texts on larger screens.

plurals
  1. POtrigger not fire in Quartz.net web site
    primarykey
    data
    text
    <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/2763072/quartz-net-scheduler-works-locally-but-not-on-remote-host">Quartz.Net scheduler works locally but not on remote host</a> </p> </blockquote> <p>when i use this code:</p> <p>job code:</p> <pre><code>Public Class ImportJob Implements IJob Public Sub Execute(context As IJobExecutionContext) Implements IJob.Execute '''some code End Sub End Class </code></pre> <p>trigger code:</p> <pre><code>Public Class ScheduleManager Public Shared Property Scheduler As IScheduler Public Sub RunTrigger() Dim startTime As DateTimeOffset startTime = DateBuilder.DateOf(20, 0, 0) Dim scheduler = GetScheduler Dim job As IJobDetail = JobBuilder.Create(Of ImportJob)().WithIdentity("jobname").Build() Dim trigger As ITrigger trigger = TriggerBuilder.Create().ForJob(job).WithIdentity("som Name").WithDescription("some Desc").StartAt(startTime).WithSimpleSchedule(Function(x) x.WithIntervalInHours(24).RepeatForever).Build() scheduler.ScheduleJob(job, trigger) scheduler.Start() End Sub Public ReadOnly Property GetScheduler As IScheduler Get If Scheduler Is Nothing Then Scheduler = New StdSchedulerFactory().GetScheduler() End If Return Scheduler End Get End Property End Class </code></pre> <p>and in global:</p> <pre><code> Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) ' Code that runs on application startup Dim schde As New ScheduleManager schde.RunTrigger() End Sub </code></pre> <p>i use this trigger and job for scheduling,when i use that code trigger must be fire in 20:00,but trigger not fire? thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload