Continuous server-side process implementation?

Hey everyone! I’m trying to figure out how to set up a constant process on my website’s backend. I want it to run all the time and do things like send an email every minute without needing the webpage to be open. Is this doable with PHP?

I’m using GoDaddy as my host, if that matters. I’m not looking for the actual code, just wondering what tech I should use for this kind of always-on task. Any ideas would be super helpful!

I’ve heard about cron jobs, but I’m not sure if that’s the right approach. Would I need to use a different language or some special server setup? Thanks in advance for any tips!

hmm, have u considered using node.js? its great for continuous processes! you could set up a 24/7 server. but with godaddy, u might face limitations. try exploring cloud platforms like heroku or aws, they offer more flexibility for always-on tasks. what specific functionalities are u aiming for?

For continuous server-side processes, PHP with cron jobs on GoDaddy might not be the optimal solution. Consider exploring platforms like DigitalOcean or Linode, which offer Virtual Private Servers (VPS). These allow you to run background processes continuously without limitations.

If you’re comfortable with JavaScript, Node.js is an excellent choice for such tasks. It’s designed for long-running processes and can handle asynchronous operations efficiently. You could set up a Node.js server with libraries like node-cron for scheduling tasks or use process managers like PM2 to ensure your script runs continuously.

Remember, the choice of technology depends on your specific requirements and scalability needs. Assess the frequency and complexity of your tasks to determine the most suitable approach.

godaddy mite not be ideal for continuous processes. have u looked into cron jobs? they can trigger scripts at set intervals. but for truly constant tasks, maybe consider switching to a vps or cloud platform. what exactly r u trying to achieve with this always-on process?