Share via

Background Jobs webapp Linux

brandiving 1 Reputation point
2022-11-18T20:30:18.393+00:00

How can I run a php script programmatically in background?
WebJobs doesn't work in a Linux app

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,336 Reputation points Microsoft Employee Moderator
    2022-11-21T04:14:38.227+00:00

    Hi @brandiving ,

    Unfortunately, WebJobs on Linux is not a supported feature. If you don't need the latest and greatest PHP, then just create a Windows based app service to create the webjob. If, however, you need PHP 8, then your best option is to leverage Azure Functions if you're looking for a seamless solution. Otherwise, you could leverage a docker image, deploying your PHP code and creating a startup script to execute on a continuous run.

    0 comments No comments

Your answer

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