-2

I did configured supervisor to process the jobs from AWS SQS queue(using laravel dispatch to AWS SQS), I have below command in /etc/supervisor.conf and I want to run this command on regular intervals:

command=sudo php /home/../artisan queue:work sqs --daemon --sleep=300

Is it possible? Please help me.

1 Answers1

3

Assuming you're using Unix you need cron, which is built into every Unix OS and has been for decades.

Tim
  • 31,888
  • 7
  • 52
  • 78