Blog · WebJi® India

Crontab Examples for Linux: 15 Real Server Task

Quick answer: Crontab Examples for Linux: 15 Real Server Task from WebJi®, billed in INR with 18% GST on the invoice. Email support@webji.services is 24/7 in Hindi and English (average first reply under 60 minutes). Phone +91 141 4941811 is business hours only. The company has been in this business since 2005.
✓ In business since 2005✓ INR + GST billing✓ 24/7 Email Support — avg reply < 60 min
Stacked hard drives in a secure storage room with one drive glowing, symbolising safe data backups — crontab examples linux

Cron Syntax Explained in One Table

Five fields decide the schedule — minute, hour, day-of-month, month, day-of-week — then the command. The syntax table:

ExpressionMeaning
* * * * *Every minute
0 * * * *Top of every hour
30 2 * * *Daily at 02:30
0 0 * * 0Weekly, Sunday 00:00
0 0 1 * *Monthly, on the 1st
*/15 * * * *Every 15 minutes
0 9-18 * * 1-5Hourly 9-18, weekdays only

Edit with crontab -e, list with crontab -l. The daily-backup pattern — 0 2 * * * /root/scripts/backup.sh — is the canonical first job; pair it with output logging so failures surface, and disk-space monitoring so the backup disk never fills silently. Cron runs on every Linux hosting tier.

Every-Minute to Every-Hour Examples

How this plays out with crontab syntax (5 fields): settings that look cosmetic usually decide page speed and uptime under real traffic. The defaults WebJi® ships are tuned for Indian network conditions, and support can review your setup on request.

Stacked hard drives in a secure storage room with one drive glowing, symbolising safe data backups — crontab examples linux

Daily, Weekly and Monthly Jobs

Two practical notes on crontab -e / -l: it interacts directly with caching and database response, and misconfiguration is the most common cause of 'hosting is slow' tickets. WebJi® support checks it as part of standard migrations.

@daily, @reboot and Other Shortcuts

How this plays out with special strings (@reboot, @daily): settings that look cosmetic usually decide page speed and uptime under real traffic. The defaults WebJi® ships are tuned for Indian network conditions, and support can review your setup on request.

Logging and Emailing Cron Output

A cron job should call the exact script the app documents, on the interval it documents, and write output to a log you can read. A job that emails you every minute means the path or the PHP binary is wrong. Disable overlapping runs for anything that imports or sends mail.

Why Cron Jobs Fail Silently (PATH, permissions)

Two practical notes on cron environment variables: it interacts directly with caching and database response, and misconfiguration is the most common cause of 'hosting is slow' tickets. WebJi® support checks it as part of standard migrations.

Managing Jobs: List, Edit, Remove

Two practical notes on cron logs (/var/log/syslog, cron): it interacts directly with caching and database response, and misconfiguration is the most common cause of 'hosting is slow' tickets. WebJi® support checks it as part of standard migrations.

Frequently Asked Questions

How do I write a cron job in Linux?

Edit with crontab -e, list with crontab -l. The daily-backup pattern — 0 2 * * * /root/scripts/backup.sh — is the canonical first job; pair it with output logging so failures surface, and disk-space monitoring so the backup disk never fills silently. Cron runs on every Linux hosting tier.

What does the cron expression */5 * * * * mean?

What does the cron expression */5 * * * * mean refers to the subject of this page, Crontab Examples for Linux: 15 Real Server Task. WebJi® has provided this class of service from Jaipur since 2005, with GST invoices and 24/7 email at support@webji.services. Use the sections and the table on this page for the specifics, and open a ticket at https://billing.webji.in/submitticket.php?step=2&deptid=10 if your case does not match the standard row.

How do I run a cron job every day at midnight?

Edit with crontab -e, list with crontab -l. The daily-backup pattern — 0 2 * * * /root/scripts/backup.sh — is the canonical first job; pair it with output logging so failures surface, and disk-space monitoring so the backup disk never fills silently. Cron runs on every Linux hosting tier. The question here is: How do I run a cron job every day at midnight.

Where can I see cron job logs?

Edit with crontab -e, list with crontab -l. The daily-backup pattern — 0 2 * * * /root/scripts/backup.sh — is the canonical first job; pair it with output logging so failures surface, and disk-space monitoring so the backup disk never fills silently. Cron runs on every Linux hosting tier. The question here is: Where can I see cron job logs.

How do I edit or delete an existing cron job?

Edit with crontab -e, list with crontab -l. The daily-backup pattern — 0 2 * * * /root/scripts/backup.sh — is the canonical first job; pair it with output logging so failures surface, and disk-space monitoring so the backup disk never fills silently. Cron runs on every Linux hosting tier. The question here is: How do I edit or delete an existing cron job.

What does @reboot mean in crontab?

What does @reboot mean in crontab refers to the subject of this page, Crontab Examples for Linux: 15 Real Server Task. WebJi® has provided this class of service from Jaipur since 2005, with GST invoices and 24/7 email at support@webji.services. Use the sections and the table on this page for the specifics, and open a ticket at https://billing.webji.in/submitticket.php?step=2&deptid=10 if your case does not match the standard row.

Is WebJi® an Indian company?

Yes. WebJi® is headquartered in Jaipur, Rajasthan and has operated since 2005. Billing, support and governance all run from India.

Do you provide GST invoices?

Every purchase and renewal gets a GST invoice with our GSTIN, and hosting prices are quoted exclusive of 18% GST. Claim input credit as applicable.

Need help with this?

WebJi® support does it for you — free. Talk to our Jaipur team →