Beispiel #1
0
 public void CRT(string msg)
 {
     RJM.Add(Hangfire.Common.Job.FromExpression <IDataSourceSyncJobs>(z => z.TraceMeAsync(msg)), Cron.Hourly());
 }
Beispiel #2
0
 public void CreateRecurringTrace(string msg)
 {
     RJM.Add(Hangfire.Common.Job.FromExpression(() => System.Diagnostics.Trace.WriteLine(msg)), Cron.Minutely());
 }