peppeocchi / php-cron-scheduler

PHP cron job scheduler
MIT License
808 stars 143 forks source link

job recurring #110

Closed valantis315 closed 3 years ago

valantis315 commented 4 years ago

Hi there,

I have scheduled a job for daily use and works fine, however, there is a need to run some other jobs weekly, monthly and yearly. Is there this functionality? For example, can I schedule the below jobs? Will be executed? $scheduler->php(DIR.'/assets/scripts/dailyaggregation.php')->daily(); $scheduler->php(DIR.'/assets/scripts/weeklyaggregation.php')->weekly(); $scheduler->php(DIR.'/assets/scripts/monthlyaggregation.php')->monthly(); $scheduler->php(DIR.'/assets/scripts/yearlyaggregation.php')->yearly();

Thank you

cetric32 commented 3 years ago

Yes, they will be executed