Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4681462yDeploy a cheap server with php installed.
Use cron tab to run script every X minutes/ hours / days etc. -
JS96185072y@C0D4 Thank you very much!
I didn't know about the existence of "CRON", so I would never found it.
It happened to be in the cPanel on the server I was using, so I managed to accomplish the thing I was trying to do. -
@JS96 you would have learned about its existence if you tried to google "launch php script in interval"
-
JS96185072y@Midnight-shcode I just put that phrase in google and the first 10 results are about looping it with ajax, so it wasn't that easy to find.
I preferred to ask on a website full of friendly devs, devRant, instead of searching randomly on google (something I've already did before). -
@JS96 add "server-side" to the query.
anyways, i'm not putting you down, just giving googling tips
Related Rants
Sorry, I'm very stupid and know nothing about cloud development.
My need: I have a php code I want to put in cloud and launch as a task every N minutes automatically until I decide to stop it.
What is the best solution to do it, do you know some good services that allows me to do it easily, quickly and affordably?
For ex. "Heroku" allows me to do something like that?
Thanks in advance, I would really like to learn this part of software development I never touched in my life.
P.S. It's not a service I want to put online with access for users, it's just a "script" I want to have running on a server until I'm done.
question
task
help
cloud
i want to learn new things
php