how to run a cron job for a laravel project deployed on azure

eSquall 0 Reputation points
2024-03-05T06:15:31.9266667+00:00

hi!
i am facing an issue to run a cron job on my laravel project deployed on azure.
i found a solution but i can't proceed with.

i have to run a command every hour which performs a functionality in my system.
do anyone know about the proceedure to deploy the cron job for laravel project.
Thanks

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,663 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 57,231 Reputation points
    2024-03-06T00:59:26.19+00:00

    Hello eSquall,

    I am assuming you are deploying your Laravel project on Azure App Service (based on what you have stated). I recommend taking a look at the following guide for setting up cronjobs with Azure App Service for linux:

    Mastering Automation: Adding Cron Jobs to Azure App Service for Linux

    https://hasithacharaka.medium.com/mastering-automation-adding-cron-jobs-to-azure-app-service-for-linux-3bd02e0b55d2

    If this is helpful please accept answer.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.