Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server
Xernode/ Blog/#cron

Blog

#cron

Posts tagged with “cron”.

How to Set Up Cron Jobs in Linux

  • Xernode
  • 1-minute read
  • cron

cron runs jobs on a fixed schedule. On Ubuntu/Debian you edit the user (or root) crontab and you are done.

Steps

  1. Open the current user’s crontab:

    crontab -e
  2. Format: minute hour day-of-month month day-of-week command. Example daily at 04:00:

    0 4 * * * /usr/local/bin/vps-backup.sh

Tips

… Read the complete guide

How to Set Up Automatic Backups in Linux

  • Xernode
  • 1-minute read
  • backup

Automatic backups beat “I’ll do it tomorrow”. On a VPS you only need a script, a safe folder and one cron line.

Steps

  1. Create the backup folder and a simple script (adjust paths):

    sudo mkdir -p /var/backups/vps
    sudo nano /usr/local/bin/vps-backup.sh
  2. Minimal script body (example: tar of /etc):

… Read the complete guide