Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'crontab' and 'at' query

Status
Not open for further replies.

timwescott

Technical User
Oct 22, 2001
100
GB
Is there an option flag with 'crontab' and 'at' that will display all entries defined on a system for all users and not just the currently logged in user?

Thanks in advance.
Tim
 
I don't know of a crontab option, but to examine all crontabs in one file you could simply cd to the crontab directory (in Solaris that's /var/spool/cron/crontabs, don't know about HP) and cat all the files there into one large file (cat file1 file2 file3 file4...etc > <path>allcrons or similar), and look at them there safe in the knowledge that you're not changing anything. Sorry can't help with at, but hope this gives you an idea.
 
Hi Tim
If you are a root
#ls -la /var/spool/cron/crontabs/
to see who has crontab setup

Patel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top