io.micronaut.starter.cli.command.project.job.groovyJob.rocker.raw Maven / Gradle / Ivy
@import io.micronaut.starter.application.Project
@args (
Project project
)
@if (project.getPackageName() != null) {
package @project.getPackageName()
}
import jakarta.inject.Singleton
import io.micronaut.scheduling.annotation.Scheduled
@@Singleton
class @project.getClassName() {
@@Scheduled(fixedRate = "5m")
void process() {}
}