Cron Jobs, Chmod & Server Utilities Explained (2026)
Understand cron expressions, Unix file permissions, HTTP status codes, timestamps, and number base conversions. Explore the tools referenced in this guide — all free, all running locally in your browser with no signup required.
Understanding Cron Expressions
Cron is a time-based job scheduler in Unix-like operating systems. It allows you to automate repetitive tasks — running backups, clearing caches, sending emails, or fetching data — on a precise schedule. The schedule is defined by a cron expression: a string of five fields separated by spaces.
The Five Cron Fields
Each field controls one time dimension, read left to right: minute (0–59), hour (0–23), day of month (1–31), month (1–12), and day of week (0–7, where both 0 and 7 represent Sunday). An asterisk (*) means "every" value in that field.
┌──────────── minute (0–59) │ ┌────────── hour (0–23) │ │ ┌──────── day of month (1–31) │ │ │ ┌────── month (1–12) │ │ │ │ ┌──── day of week (0–7) │ │ │ │ │ * * * * *
Common Cron Expressions
Here are expressions you'll use regularly: 0 9 * * 1-5 runs at 9:00 AM every weekday. */15 * * * * runs every 15 minutes. 0 0 1 * * runs at midnight on the first of every month. 0 */6 * * * runs every 6 hours on the hour. Build and test your own expressions with our Cron Expression Builder.
Special Characters
Beyond asterisks, cron supports several special characters. A comma separates multiple values (1,15 means the 1st and 15th). A hyphen defines ranges (1-5 means Monday through Friday). A slash sets intervals (*/10 means every 10 units). Most implementations also support @daily, @weekly, and @monthly as readable shortcuts.
Unix File Permissions and Chmod
Every file and directory in Unix/Linux has three sets of permissions — owner, group, and others — each controlling read (r), write (w), and execute (x) access. The chmod command changes these permissions using either symbolic notation (like u+rwx) or octal notation (like 755).
Understanding Octal Notation
Each permission has a numeric value: read = 4, write = 2, execute = 1. Add them together for each user class. So 755 means owner gets 7 (read + write + execute), group gets 5 (read + execute), and others get 5 (read + execute). This is the standard permission for web server directories and scripts. Use our Chmod Calculator to visualize and generate chmod commands.
Common Permission Patterns
- 755 — Standard for directories and executable scripts. Owner has full access; everyone else can read and execute.
- 644 — Standard for regular files (HTML, CSS, images). Owner can read and write; everyone else can only read.
- 700 — Private directory. Only the owner has any access.
- 600 — Private file (like SSH keys or config files with passwords). Only the owner can read and write.
Security Best Practices
Never use 777 in production — it gives everyone full permissions, including the ability to modify or delete files. Always follow the principle of least privilege: grant only the minimum permissions needed for a file or directory to function correctly.
HTTP Status Codes Quick Reference
HTTP status codes are three-digit numbers returned by servers to indicate the result of a request. They're organized into five classes, each signaling a different category of response. Understanding these codes is essential for debugging API integrations, server configurations, and web applications.
The 2xx codes indicate success — 200 (OK), 201 (Created), 204 (No Content). 3xx codes handle redirection — 301 (Permanent Redirect), 302 (Temporary Redirect), 304 (Not Modified). 4xx codes are client errors — 400 (Bad Request), 401 (Unauthorized), 403 (Forbidden), 404 (Not Found). 5xx codes are server errors — 500 (Internal Server Error), 502 (Bad Gateway), 503 (Service Unavailable). Browse the complete reference in our HTTP Status Codes tool.
Timestamps and Time Conversions
Unix timestamps represent time as the number of seconds since January 1, 1970, 00:00:00 UTC (the "epoch"). This format is timezone-independent and universally comparable — making it ideal for databases, APIs, and log files. Convert between human-readable dates and Unix timestamps with our Timestamp Converter.
When working with timestamps across systems, always store and transmit in UTC, converting to local time only at the display layer. Use ISO 8601 format (2026-04-15T14:30:00Z) for human-readable interchange, and Unix epoch seconds for storage and computation.
Number Base Conversions
Developers regularly work with four number bases: binary (base 2) for bit-level operations, octal (base 8) for Unix permissions, decimal (base 10) for human-readable values, and hexadecimal (base 16) for colors, memory addresses, and byte representations. Each hex digit maps to exactly four binary digits, making hex a compact way to express binary data.
Convert between all four bases instantly with our Number Base Converter. Understanding base conversion is fundamental to working with file permissions, CSS colors, network addresses, and low-level programming.
This guide is part of the Ultimate Design Tools blog. Browse all 103+ free tools.