Skip to content

Commit 07b3bab

Browse files
committed
update README.md
1 parent d254071 commit 07b3bab

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ public class TestScheduler
4444
{
4545
Debug.WriteLine($"Task..............Cron_{time}_{task.Method.Name}_{taskExecutor.Tasks.Count}");
4646
}
47+
48+
// this task will begin execution after 100 seconds of startup
49+
[Cron("0/1 * * * * *", 100, CronStringFormat.WithSeconds)]
50+
public static void DeferTask1()
51+
{
52+
Debug.WriteLine($"Task..............5555_{DateTime.Now}");
53+
}
4754
}
4855
```
4956

0 commit comments

Comments
 (0)