how to test my scheduled methods locally?

hey guys. so i have java spring app. in the app i have a 2 methods annotated with @Scheduled and each method has 2 cron expressions (one for work days, one for weekend). i deploy my app to the server. and on the same server i have cron jobs and thats how my code is being scheduled. but my question is how to locally test if my cron jobs for these two methods work fine?
Was this page helpful?