$schedule->command('sitemap:sitemap_xml_generate')->monthly();
In the above command we can scedule once a month, if i want to schedule twice a month or 15 day once, how can I write this?
Update: This works fine. I am running the cron job on 3 and 18 of the month.
$schedule->command('sitemap:sitemap_xml_generate')->cron('0 0 3,18 * *');
cron('0 0 3,18 * *') -> Argument are 'minute hour day(we can specify multiple date seperated by comma) month year'