Ready to take the training wheels off? SSH access and cron jobs give you powerful control over your hosting environment.
SSH (Secure Shell) is a secure way to connect to your server's command line. It's like being able to sit at the server's keyboard - but from anywhere in the world.
[SCREENSHOT: SSH access settings showing the enable toggle and password field]
| Setting | Value |
|---|---|
| Host | Your domain or server IP |
| Port | 22 |
| Username | Your SSH username |
| Password | Your SSH password |
ssh username@yourdomain.comssh myuser@example.com
myuser@example.com's password: ********
Welcome to your hosting environment!
$
Windows 10/11 includes SSH:
ssh username@yourdomain.comFor older Windows versions or more features:
[SCREENSHOT: PuTTY configuration window with host and port fields]
Typing passwords is so last decade. SSH keys are more secure and convenient.
On Mac/Linux:
ssh-keygen -t ed25519 -C "your@email.com"
On Windows (in PowerShell):
ssh-keygen -t ed25519 -C "your@email.com"
This creates two files:
~/.ssh/id_ed25519 (private key - keep this secret!)~/.ssh/id_ed25519.pub (public key - this goes on the server).pub file)[SCREENSHOT: SSH key management showing the add key form]
Now you can connect without a password:
ssh username@yourdomain.com
# No password needed!
pwd # Print current directory
ls # List files
ls -la # List all files with details
cd /path/to/dir # Change directory
cd .. # Go up one directory
cd ~ # Go to home directory
cp file1 file2 # Copy file
mv file1 file2 # Move/rename file
rm file # Delete file (careful!)
rm -r directory # Delete directory (very careful!)
mkdir newfolder # Create directory
cat filename # Display file contents
nano filename # Edit file (Ctrl+X to exit)
df -h # Check disk space
du -sh folder # Check folder size
top # View running processes
tail -f logfile # Watch log file in real-time
grep "error" file # Search for text in file
find . -name "*.php" # Find files by name
# PHP
php -v # Check PHP version
php script.php # Run PHP script
# Composer
composer install # Install dependencies
composer update # Update dependencies
# Node.js/npm
node -v # Check Node version
npm install # Install packages
npm run build # Run build script
# Git
git status # Check repo status
git pull # Pull latest changes
git log # View commit history
# WordPress CLI
wp core version # Check WordPress version
wp plugin list # List plugins
wp cache flush # Clear cache
[SCREENSHOT: Terminal showing various commands being executed]
Cron jobs run commands on a schedule - perfect for:
Cron uses a five-field format:
* * * * * command
│ │ │ │ │
│ │ │ │ └── Day of week (0-7, 0 and 7 are Sunday)
│ │ │ └──── Month (1-12)
│ │ └────── Day of month (1-31)
│ └──────── Hour (0-23)
└────────── Minute (0-59)
| Schedule | Cron Expression | Meaning |
|---|---|---|
| Every minute | * * * * * |
Runs constantly |
| Every hour | 0 * * * * |
At minute 0 of every hour |
| Every day at midnight | 0 0 * * * |
Daily at 00:00 |
| Every Monday at 9 AM | 0 9 * * 1 |
Mondays at 09:00 |
| Every 15 minutes | */15 * * * * |
0, 15, 30, 45 past each hour |
| Twice a day | 0 8,20 * * * |
8 AM and 8 PM |
| First of month | 0 0 1 * * |
Midnight on the 1st |
[SCREENSHOT: Cron job creation form with schedule options and command field]
# Run WordPress scheduled tasks every 15 minutes
*/15 * * * * cd /home/user/public_html && wp cron event run --due-now
# Daily database backup at 3 AM
0 3 * * * mysqldump -u dbuser -p'password' dbname > /home/user/backups/db_$(date +\%Y\%m\%d).sql
# Clear cache every hour
0 * * * * rm -rf /home/user/public_html/wp-content/cache/*
# Run a maintenance script daily at midnight
0 0 * * * /usr/bin/php /home/user/public_html/maintenance.php
>> /path/to/logfile.log 2>&1 to capture outputWordPress has its own pseudo-cron that runs on page visits. For better reliability, use real cron:
Add to wp-config.php:
define('DISABLE_WP_CRON', true);
*/15 * * * * curl -s https://yourdomain.com/wp-cron.php > /dev/null 2>&1Enhance runs cron jobs and SSH sessions in isolated containers per website. This means:
chmod +x script.sh/usr/bin/php instead of just phpNeed more help? Browse our other Knowledge Base articles or contact our support team!