Apply for Free VPS

Running bots and background workers on a VPS

27 Nov 2026 bots workers

Keep long-running jobs alive, observable and within the rules.

Bots and workers suit a small server well: they connect outward, need little memory and run all day.

Run them as services

A terminal session ends; a systemd service restarts after failures and reboots. See running an app as a service.

Expect failure

Networks drop and APIs refuse requests. Retry with increasing delays, respect rate limits and stop after repeated errors so you notice.

Do not repeat work

Record what has been processed, so a restart does not send the same message twice.

Keep secrets out of code

Use an environment file readable only by the service user.

Know it is working

Have the job report success to a monitor, and alert when reports stop. Silence is how broken schedulers hide.

Stay within the rules

Respect each platform's terms. Spam, credential testing and mining are prohibited on our servers, whatever the language they are written in.

Network fit

Because these jobs mostly connect out, they need little network setup. A webhook receiver needs an address the sender will accept; many require standard HTTPS ports.

Need a server to try this on?See VPS plans

More articles