[quartznet:4146] How to call function/method from Quartz

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[quartznet:4146] How to call function/method from Quartz

Freesix Fr

Hi, I'm using your product but you only provide C# example, NOT VB.Net although.

I have a small concern which is I'm using VB.Net and want to call a VB method from Quartz scheduling instead of opening a File/EXE...

I know that many examples describe about how to open file/application and so on which is external to .NET ... but I want to call something internal (vb/c# function/method)

How can i do that please? is it possible?

Please see below (VB Method)

// define the job and tie it to our HelloJob class IJobDetail job = JobBuilder.Create<HelloJob>() .WithIdentity(MyMethod(), "group1") .Build();

Sub MyMethod()

    MsgBox("Working !!!")

End Sub

You received this message because you are subscribed to the Google Groups "Quartz.NET" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/quartznet.
For more options, visit https://groups.google.com/d/optout.