Solved

How to display current jobs in crontab

Posted on 2011-09-13
6
376 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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now