The Tech Edvocate

Top Menu

  • Advertisement
  • Apps
  • Home Page
  • Home Page Five (No Sidebar)
  • Home Page Four
  • Home Page Three
  • Home Page Two
  • Home Tech2
  • Icons [No Sidebar]
  • Left Sidbear Page
  • Lynch Educational Consulting
  • My Account
  • My Speaking Page
  • Newsletter Sign Up Confirmation
  • Newsletter Unsubscription
  • Our Brands
  • Page Example
  • Privacy Policy
  • Protected Content
  • Register
  • Request a Product Review
  • Shop
  • Shortcodes Examples
  • Signup
  • Start Here
    • Governance
    • Careers
    • Contact Us
  • Terms and Conditions
  • The Edvocate
  • The Tech Edvocate Product Guide
  • Topics
  • Write For Us
  • Advertise

Main Menu

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings

logo

The Tech Edvocate

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
        • My Speaking Page
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings
  • A Visitors Guide to Long Beach (CA), United States

  • A Visitor’s Guide to Fresno (CA), United States

  • A Visitors Guide to New Orleans (LA), United States

  • A Visitors Guide to Sacramento (CA), United States

  • A Visitors Guide to Lyon, France

  • JisuLife Ultra2 Portable Fan: A Powerful Multi-Function Cooling Solution

  • A Visitors Guide to Viña del Mar, Chile

  • A Visitors Guide to Århus, Denmark

  • A Visitors Guide to Bakersfield (CA), United States

  • A Visitors Guide to Aurora (CO), United States

Assistive Technology
Home›Assistive Technology›Ways to Check Whether cron Is Working on Linux

Ways to Check Whether cron Is Working on Linux

By Matthew Lynch
June 11, 2023
0
Spread the love

Cron is a time-based job scheduler in Linux which automatically runs scheduled jobs or commands at a specific time interval. This utility is used to automate routine tasks and is an essential tool for system administrators. However, sometimes you may face some issues where cron is not working properly, and the scheduled jobs fail to run. In this article, we will discuss some ways to check whether cron is working on Linux.

1. Check the cron service status:

The first step to checking cron’s status is to ensure that the cron service is running. In most Linux distributions, you can check cron’s service status using the systemctl, service, or chkconfig commands depending on your distribution.

To check the cron service status using systemctl, run the following command:

$ systemctl status cron

To check the cron service status using service, run the following command:

$ service cron status

To check the cron service status using chkconfig, run the following command:

$ chkconfig –list cron

2. Check the cron logs:

Cron logs all its activities in the /var/log/cron file. By examining the log file, you can determine whether cron is working correctly or not. To check the cron logs, you can use the tail command as follows:

$ tail -f /var/log/cron

This command will display the last few lines of the cron log file. You can also use the grep command to search for specific information in the log file. For example, to search for all failed cron jobs, you can use the following command:

$ grep “cron.*CMDFAILED” /var/log/cron

3. Check the cron schedule:

Another way to check whether cron is working correctly is to verify the scheduled jobs. You can view the scheduled cron jobs using the crontab command. To view the current user’s cron jobs, run the following command:

$ crontab -l

This command will display the scheduling table in the standard output. You can also use the vim or nano editor to view and edit the cron scheduling table.

4. Check the email notifications:

Cron sends an email notification to the defined email address after running a scheduled job. You can check the email notifications to ensure cron is working correctly. You can configure the cron email notifications by setting the MAILTO variable in the crontab file. To view the email notifications, run the following command:

$ tail -f /var/mail/$USER

This command will display the last few lines of your mailbox. You can also use the mail command to read the email notifications.

In conclusion, Cron is a powerful tool to automate routine tasks. However, it is important to check whether it is working correctly to avoid any potential issues. By using the methods described above, you can check whether cron is working on Linux and troubleshoot any issues.

Previous Article

Monkey’s Audio Definition: What is the APE ...

Next Article

How to Clear the Cache on Your ...

Matthew Lynch

Related articles More from author

  • Assistive Technology

    How to Stream PC Games on Your NVIDIA Shield TV via Steam Link

    June 15, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Avoid Losing Your AOL Mail Account

    June 10, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Use the Google Docs Flyer Template

    June 8, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Set Up and Use PayPal Money Pool Feature

    June 11, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Fix It When a Laptop Isn’t Connecting to a Mobile Hotspot

    June 6, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Enable and Disable the Chrome PDF Viewer

    June 6, 2023
    By Matthew Lynch

Search

Login & Registration

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

About Us

Since technology is not going anywhere and does more good than harm, adapting is the best course of action. That is where The Tech Edvocate comes in. We plan to cover the PreK-12 and Higher Education EdTech sectors and provide our readers with the latest news and opinion on the subject. From time to time, I will invite other voices to weigh in on important issues in EdTech. We hope to provide a well-rounded, multi-faceted look at the past, present, the future of EdTech in the US and internationally.

We started this journey back in June 2016, and we plan to continue it for many more years to come. I hope that you will join us in this discussion of the past, present and future of EdTech and lend your own insight to the issues that are discussed.

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

Contact Us

The Tech Edvocate
910 Goddin Street
Richmond, VA 23231
(601) 630-5238
[email protected]

Copyright © 2025 Matthew Lynch. All rights reserved.