mahmoudtrageh
1 month ago
280
13
Laravel

How can I do a cronjob to send notification every 5 seconds ?

Posted 1 month ago by mahmoudtrageh

I have 500 records of users in database and I create a function to send notifications to them how can I use chronjob to send notifications to them (only 50 users every 5 seconds) instead of using loop.

Please sign in or create an account to participate in this conversation.