by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 23 05:32
    lahma deleted #971
  • Sep 23 05:32
    lahma closed #971
  • Sep 23 05:29
    SaeedGz98 opened #971
  • Sep 22 07:15
    lahma labeled #970
  • Sep 22 07:15
    lahma commented #970
  • Sep 22 07:15
    lahma closed #970
  • Sep 22 07:12
    hyperoceanic opened #970
  • Sep 19 06:51
    lahma closed #926
  • Sep 19 06:51
    lahma closed #967
  • Sep 19 06:46
    lahma synchronize #967
  • Sep 19 06:46
    lahma opened #967
  • Sep 19 06:25
    lahma closed #966
  • Sep 19 06:25
    lahma closed #951
  • Sep 19 06:19
    lahma milestoned #951
  • Sep 19 06:19
    lahma opened #966
  • Sep 18 16:00
    lahma deleted #949
  • Sep 18 16:00
    kevinchalet commented #955
  • Sep 18 15:59
    lahma commented #955
  • Sep 18 15:39
    kevinchalet commented #955
  • Sep 18 15:37
    kevinchalet commented #955
DrCopyPaste
@DrCopyPaste
alas I have to honor my name
Djinnet
@djinnet
Haha. Once again, thank you so much. Now I can try to see if it work in my real code as well.
DrCopyPaste
@DrCopyPaste
welcome
its nice to fill this room with more interest :)
Marko Lahma
@lahma
👍🏻
Djinnet
@djinnet
Hello again! I got an weird issue with "Couldn't store trigger for job: Couldn't retrieve job: String '0' was not recognized as a valid Boolean." with ms sql server as jobStore. But it works perfectly fine if I am using RAMJobStore, which I have been using until now. I hope someone in here would know what that issue is. :/
Djinnet
@djinnet
Found out what the issue is. Somehow I used the wrong sql script to the mssql database. Now it works again. Cheer! :)
DrCopyPaste
@DrCopyPaste
is there an easy way to just fire and forget a trigger and use MisfireInstruction.DoNothing with it?
I was previously using Scheduler.TriggerJob but that uses smart misfire policy by default, is there a way around that or do I have to manually build a simple or cron trigger to achieve what I want
DrCopyPaste
@DrCopyPaste
huh, seems no, simple trigger only supports IgnoreMisfire, FireNow or Reschedules, guess im going for the cron trigger again :D
Xorcist
@Xorcist77
Is there a way to load jobs/triggers from an XML config, but have the scheduler be in an unstarted state? I want to load up my jobs and selectively trigger a job to run, just once, immediately.
Presently the XML config does not load until I run scheduler.Start(), and at that point the jobs are scheduled and running.
Marko Lahma
@lahma
you can probably achieve what you want by using XMLSchedulingDataProcessor directly, without using the plugin that only processes after scheduler has started
Xorcist
@Xorcist77
Yup, removing the plugin was the way to go, now I can just load the file, remove all the triggers, and then trigger a single job with scheduler.TriggerJob()
oops, wrong gitter... sorry :)
Xorcist
@Xorcist77
Maybe I'm missing something, but I am triggering a long running job with scheduler.TriggerJob(JobKey), but when I call scheduler.GetCurrentlyExecutingJobs() and get .Count it's zero... is this to be expected?
Marko Lahma
@lahma
with RAMJobStore?
Xorcist
@Xorcist77
yes
Marko Lahma
@lahma
I would think that memory-backed status should be quite fresh
maybe your can debug a bit and check what is the case
Xorcist
@Xorcist77
I'm in the process of doing just that
I'll get back with my findings if I make some headway
Marko Lahma
@lahma
thank you
Xorcist
@Xorcist77
okay it turns out I was trying to get the executing jobs too soon. The job hadn't quite started yet. basically I was doing an await scheduler.TiggerJob() and following that directly with the check for execution. When I put a 10ms delay in then checked for execution it came back with a non-zero count.
I guess it's just the async nature of the job actually starting up
I'm going to actually implement a JobListener to handle for checking job completion, so I can perform some post run operations.
Marko Lahma
@lahma
yep, the jobs (triggers) are polled so there is a slight delay before the actual run
Xorcist
@Xorcist77
I have an externally configured job (no trigger), that I fire with scheduler.TriggerJob(JobKey), which works fine, until I want to fire it with scheduler.TriggerJob(JobKey, JobDataMap), it seems that while my JobDataMap has data in it before the call, inside the job referencing context.JobDetail.JobDataMap give be 0 items. Any ideas why this might be?
oh... my bad, looks like I need to be using context.Trigger.JobDataMap, issue resolved.
Albert Hives
@ahives
Hi, I have a question: I am trying to add scheduling to my OSS library. The thing is, I need it to be able to schedule vastly different job types. In other words, I have custom job A that has completely different parameters than custom job B. Would I create the job factory to have all of the possible parameters and just figure out within the NewJob method which custom job (A or B in this example) to call?
Marko Lahma
@lahma
Can you use job data map to parameterize?
Albert Hives
@ahives
For some I think it would make sense to do it that way. However, if these are two completely different jobs should I be thinking about registering different schedulers?
Albert Hives
@ahives
after looking at this for a bit, it looks like I need different schedulers. Is this possible from the same application? (I guess it probably would be a matter of registering the objects in Autofac) @lahma
techiebuddhas
@techiebuddhas
Guys do we have an option to read job store from json file in quartz.net, please treat this as a newbie question :)
Marko Lahma
@lahma
Only XML supported at the moment
Khoa Nguyen
@KhoaSydney
Hi guys,
Im currently using Quart.net v3 to schedule some job to be run. It is working on my local but when I deploy onto my Test site, it does not exeucte at all. There is no error
Any idea on why it does not get execute?
DrCopyPaste
@DrCopyPaste
Is AssemblyInfo.cs a relic waiting to be deleted, or am I doing something wrong?
I am asking because Build fails for me directly after checkout (latest master, VS 2019)
I see that src/AssemblyInfo.cs is referenced from for example Quartz.csproj but it does not exist (log says deleted 11-2-2014?)
Marko Lahma
@lahma
Build.cmd generates it
DrCopyPaste
@DrCopyPaste
ah of course, thx :)
sylvaingir
@sylvaingir
Hi @lahma, one quick question: Do you plain to release milestone 3.1 anytime soon? I'm being impacted by the TimeZoneConverter issue that is already fixed by @klinki
Marko Lahma
@lahma
Have you tried the MyGet feed for quick remedy?
sylvaingir
@sylvaingir
I didn't know about that, I'll give it a shot. thanks for pointing me to it! :)
Michael
@michaellwest
Thanks for such a great product!
Marko Lahma
@lahma
Glad that you enjoy it :thumbsup:
Michael
@michaellwest
I have a cron trigger scheduled for weekends. If I provide a startat time which is in the past and then run the service, should the weekend schedule fire once?
Marko Lahma
@lahma
Depends. Cannot know if it misfired without persistence
Michael
@michaellwest
Looks like the docs say FireOnceNow is the default which likely applies in my case.