Solved

How to display current jobs in crontab

Posted on 2011-09-13
6
397 Views
Last Modified: 2012-08-13
Hi,

I wonder how can I see all the currents jobs on my server. I planned serveral cron jobs but not sure if they are actually executated.


WHAT IS THE COMMAND TO SEE THE CURRENT JOBS
0
Comment
Question by:cismoney
  • 3
  • 2
6 Comments
 
LVL 12

Expert Comment

by:mwochnick
ID: 36530676
crontab -l  to view the current file
0
 
LVL 12

Assisted Solution

by:mwochnick
mwochnick earned 500 total points
ID: 36530683
here's a nice quick reference
http://adminschoice.com/crontab-quick-reference
0
 
LVL 12

Accepted Solution

by:
mwochnick earned 500 total points
ID: 36530708
one additonal thing to view any users crontab - you have to be root to do this
crontab -l username
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:cismoney
ID: 36530788
thanx a lot.


how do you execute a script via crontab can you give me an example???

My collegue executated a script to show all the daily logs, everytime he execute that script with the crontab the file is created but remain empty.


when he execute the same  script manually he can see the file with all the content.
0
 
LVL 5

Expert Comment

by:balasundaram_s
ID: 36531012
There should a cron log, where you can see whether those jobs are executed or not.  What OS ?
0
 

Author Comment

by:cismoney
ID: 36531059
solaris
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question