How to display current jobs in crontab

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
Williams225System AdministatorAsked:
Who is Participating?
 
mwochnickConnect With a Mentor Commented:
one additonal thing to view any users crontab - you have to be root to do this
crontab -l username
0
 
mwochnickCommented:
crontab -l  to view the current file
0
 
mwochnickConnect With a Mentor Commented:
here's a nice quick reference
http://adminschoice.com/crontab-quick-reference
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

 
Williams225System AdministatorAuthor Commented:
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
 
balasundaram_sCommented:
There should a cron log, where you can see whether those jobs are executed or not.  What OS ?
0
 
Williams225System AdministatorAuthor Commented:
solaris
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.