Solved

How to display current jobs in crontab

Posted on 2011-09-13
6
409 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

617 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