Hostxpeed
Login Get Started →
Getting Started

How to View Cron Jobs

3 min read
20 views
Jun 10, 2026

Prerequisites

Before viewing cron jobs, make sure you have:

  • SSH access to your VPS
  • Permission to view relevant crontabs

Method 1: View Your Cron Jobs

Connect to your VPS:

ssh hxroot@YOUR_SERVER_IP -p 22
crontab -l

If no jobs exist: no crontab for hxroot

Method 2: View Another User's Cron Jobs (Root Only)

sudo crontab -u username -l

Example:

sudo crontab -u www-data -l

Method 3: View System-Wide Cron Jobs

Check system crontabs:

cat /etc/crontab

View hourly cron jobs:

ls -la /etc/cron.hourly/

View daily cron jobs:

ls -la /etc/cron.daily/

View weekly cron jobs:

ls -la /etc/cron.weekly/

View monthly cron jobs:

ls -la /etc/cron.monthly/

Method 4: View All Cron Jobs on System

for user in $(cut -f1 -d: /etc/passwd); do
    echo "=== Crontab for $user ==="
    crontab -u $user -l 2>/dev/null
done

Method 5: Check Cron Logs for Execution History

grep CRON /var/log/syslog | tail -20

For specific job:

grep "backup.sh" /var/log/syslog

Format Output Nicely

crontab -l | column -t

Check Cron Job Syntax

Create a test file to verify cron syntax:

crontab -l > /tmp/cron_check
crontab /tmp/cron_check

✅ You can now view all scheduled cron jobs on your Hostxpeed VPS.

Was this article helpful?