General

How To: List Cron Jobs

Today’s article is going to show you a few ways to list cron jobs on your computer. If you don’t know, cron is a way to schedule jobs in Linux. Cron goes all the way back to the mid-70s UNIX era. It’s a pretty handy tool that we’ve not yet really covered on Linux Tips.

In one of these future articles, I’ll have to explain how to add, remove, and change cron jobs. It’s easier than you might think. Importantly, even if you haven’t added any cron jobs, your system almost certainly has many of them. They’re useful for scheduling tasks and your computer does all sorts of task scheduling even if you don’t add anything to it.

In today’s article, we’ll show you how to list cron jobs by their type. By type, I mean by when they’re scheduled. Tasks are scheduled on an hourly, daily, weekly, and monthly basis. You can schedule them at other intervals, but generally speaking the system will only use those particular intervals.

List Cron Jobs:

Like many articles, this one will also require an open terminal. The terminal is a pretty useful tool! Anyhow, you can open one pretty easily. Just press CTRL + ALT + T and your default terminal should open.

Once  your terminal is open, we can first examine the the hourly cron jobs. It’s really easy. Just enter:

ls -la /etc/cron.hourly

You may start to notice a trend with this next one. If you want to list cron jobs by their daily status, your command would be just a little different.

ls -la /etc/cron.daily

Sure enough, if you want to list cron jobs by their weekly status, the command isn’t much different. That one is:

ls -la /etc/cron.weekly

And of course monthly is like this:

ls -la /etc/cron.monthly

See? Nice and easy. A little bite-size article that tells you how to list cron jobs.

Closure:

And there you have it. You have yet another article, this one dealing with showing you the cron jobs that you have running on your computer. These are all the tasks that are regularly scheduled. One of these days, I’ll do an article about editing them and adding them, including adding them with different interval schedules.

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

KGIII

Retired mathematician, residing in the mountains of Maine. I may be old and wise, but I am not infallible. Please point out any errors. And, as always, thanks again for reading.

Recent Posts

A Quick Look At The Shutdown Command

This is going to be just a quick article about a command many of you…

2 days ago

Setting Up Coding Environments on Linux for Educational Use

With so many strong attributes, such as robustness and flexibility, Linux stands as a powerful…

4 days ago

View Detailed Hardware Information

There are many tools for showing your hardware information and today we'll get to view…

6 days ago

How To: Install Wine In Lubuntu

Today's article isn't going to be complicated or long as we are going to cover…

1 week ago

Update Python Packages (PIP)

We've had a run of Python packages recently and you can tell that I'm a…

1 week ago

Save A Command’s Output To A File (While Showing It In The Terminal)

The title is the best I can come up with to describe this exercise as…

2 weeks ago