Package edu.ucsb.cs156.happiercows.jobs
Class ScheduledJobs
java.lang.Object
edu.ucsb.cs156.happiercows.jobs.ScheduledJobs
This class contains methods that are scheduled to run at certain times
 to launch particular jobs.
 
 The value of the 
cron parameter to the @Scheduled
 annotation is a Spring Boot cron expression, which is similar to
 a Unix cron expression, but with an extra field at the beginning for
 the seconds.- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoid
- 
Constructor Details- 
ScheduledJobspublic ScheduledJobs()
 
- 
- 
Method Details- 
runUpdateCowHealthJobBasedOnCron@Scheduled(cron="${app.updateCowHealth.cron}") public void runUpdateCowHealthJobBasedOnCron()
- 
runMilkTheCowsJobBasedOnCron@Scheduled(cron="${app.milkTheCows.cron}") public void runMilkTheCowsJobBasedOnCron()
 
-