Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to list all users cronjob

0 views
Skip to first unread message

Meng

unread,
Mar 13, 2002, 11:00:20 PM3/13/02
to
Hi,

Is there a command to list all users's cronjob @ one shot?

Please advise
calvin

Sholman

unread,
Mar 14, 2002, 12:33:02 PM3/14/02
to
dligh...@yahoo.com (Meng) wrote in message news:<2968080e.02031...@posting.google.com>...

You didn't specify which unix you're using so on AIX you could do:

for i in `ls /var/spool/cron/crontabs`
do
echo $i
cat $i
echo
done

BTW - "at" jobs are in the /var/spool/cron/atjobs directory

HTH!

Jay Lessert

unread,
Mar 14, 2002, 4:10:12 PM3/14/02
to
> Hi,
>
> Is there a command to list all users's cronjob @ one shot?

Ummmmmm,

% sudo head -1000 /var/spool/cron/crontabs/*

-Jay-

0 new messages