Created
April 8, 2016 16:39
-
-
Save jamsesso/b4f80e6dcbc9ee4f200d17e48a91ea66 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Service | |
public class BatchServiceImpl { | |
@Scheduled(cron = "your-cron-expression-here (example: */5 * * * * MON-FRI would execute on weekdays)") | |
public void sendReport() { | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment