comments del

This commit is contained in:
Yazawazi
2022-04-27 07:14:02 +08:00
parent ac796675f2
commit e8b34b6179

View File

@@ -6,17 +6,8 @@ import java.lang.annotation.RetentionPolicy;
/*
* So what is cron expression?
* Check this: https://en.wikipedia.org/wiki/Cron
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12)
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday;
# │ │ │ │ │ 7 is also Sunday on some systems)
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
* */
* second minute hour day month week year
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface Task {
String taskName() default "NO_NAME";