SoapyIllusion was awarded Best Answer+1000 XP
4mos ago
SoapyIllusion wrote a reply+100 XP
4mos ago
SoapyIllusion wrote a reply+100 XP
4mos ago
SoapyIllusion started a new conversation+100 XP
4mos ago
Hello All,
Currently setting up a Laravel API app that uses Commands to pull data from an external API every hour in the background. That API data gets stored to a database. This app runs within a docker container that itself will live on VM.
I am currently achieving this by setting up a scheduler that auto-restarts and runs the command php artisan schedule:run
Ultimately I am just running three different commands over the span of a few hours every day. Is this considered good practice for a an app that will have a very very small user base?
I know the other option is to utilize supervisor and CRON but I feel for that amount of tasks and the scope of the project I feel its overkill.