For example, I have an account on a hosting, but I don’t want to lay out a site there, I want some program to run there every hour, for example, and do something. Is this possible, or do I have to use a web cloud?
2 answers
Hosting control panels usually have task schedulers, for example, you can upload a hosting script and set its execution time, runtime, number of executions per day, per week, etc in the scheduler ...
- Thank you for your reply. My hosting does have task scheduling function - Yaktens Teed
In principle, shared hosting differs from a virtual server only in that you are limited in the choice of software and remote management tools. The hoster took care of you and provided you with a ready-made typical work environment. You lose in the flexibility of the service, but win in the convenience and ease of management. Do you need to run a system program, a script in php or maybe bash? Hosting can have a different set of software, there is support for php, python, node.js, etc., most support cron, with which you can run your scripts, you can find hosting with ssh support, and on some you can also software to install and use it within the allocated resources. But, as for me, if you have enough resources shared hosting, it is better to take the cheapest VPS server, it will not work much more expensive, but less restrictions. And the cloud can be used if you need to run your programs sometimes, and for the rest of the time keep the server off to pay for resources upon use, to save. Well, plus the flexibility to add system resources if necessary.