![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to start/stop cron jobs on live server | varaprasadu | SUN Solaris | 2 | 03-12-2008 10:09 PM |
| Cron Jobs | Remi | SUN Solaris | 2 | 01-03-2007 04:12 PM |
| cron jobs | rmarral | UNIX for Advanced & Expert Users | 3 | 12-05-2005 08:59 AM |
| cron jobs | vijaysabari | Shell Programming and Scripting | 4 | 06-23-2004 01:32 PM |
| CRON Jobs | eludlow | UNIX for Dummies Questions & Answers | 4 | 05-28-2004 05:24 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cron jobs in a unix server
Dear all,
Is it possible to view all the cronjobs set under all the userids in a server. Or view all the cronjobs in the server? Thanks in anticipation, Sree. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Generally it is considered a security risk to give ordinary users access to cron or at.
Anyway Code:
crontab -l -u <username> Code:
awk -F: '{ print $1 }' /etc/passwd |\
while read usern
do
crontab -l -u $usern
done
|
|
#3
|
|||
|
|||
|
Linux (and I suppose others too) also run whatever is in /etc/cron.{d,daily,hourly,monthly} and /etc/crontab
|
|||
| Google The UNIX and Linux Forums |