Can laravel add multiple crontab to the server using scheduled tasks?

laravel using scheduled tasks requires adding crontab information in the form of / artisan schedule:run > > / dev/null 2 > & 1 on the server. Can you add more than one piece of this information?

the project I am working on now needs to use a scheduled task, but there is already a scheduled task in the server, but the existing one is executed every minute, and the effect I want is to execute it once a month, so I can only add a script in the form of laravel / artisan schedule:run > > / dev/null 2 > & 1 again. The problem is that I am not sure whether adding more than one will be executed?

I hope someone can help me to have a look. Thank you.

May.30,2021

crontab of course you can add multiple


just add a
$schedule- > command ('notice')-> monthly ()-> withoutOverlapping ();
to the method schedule in Kernel and declare:
protected $commands = [

    Commands\Notice::class,

];
and create a Notice file to keep the signature declaration consistent with the commad call
clipboard.png


look at the document more clearly.


maybe I didn't make my question clear. What I want to ask is that there are two identical commands in crontab. For example, you can see two laravel / artisan schedule:run > > / dev/null 2 > & 1 by using crontab-l. Will there be any accident at this time when I add two same commands? When I think about it now, the crontab command is executed, and both commands are actually run regularly.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d87e-4092a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d87e-4092a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?