HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how do i give a local user crontab availability
Operating System - HP-UX
1837984
Members
2817
Online
110124
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 09:16 AM
11-12-2004 09:16 AM
after i put the user in cron.allow, ie. user123, do a kill -HUP , how do i verify i have cron access? when i do crontab -e, i get a default file /var/tmp/filename. Is this where i put the time, day of month, etc.?
thanks
thanks
I'm ok
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 09:30 AM
11-12-2004 09:30 AM
Solution
Hi Scott,
You don't need to restart cron daemon. If you do a 'crontab -e' as user123, if you don't get 'you are not allowed..' kind of message, then user123 is allowed to use cron.
crontab -e will open your crontab file. You just add your cron entries in the format as specified in 'man crontab' and save. Alternatively, prepare a file with cron entries and run 'crontab' to activate it in cron.
-Sri
You don't need to restart cron daemon. If you do a 'crontab -e' as user123, if you don't get 'you are not allowed..' kind of message, then user123 is allowed to use cron.
crontab -e will open your crontab file. You just add your cron entries in the format as specified in 'man crontab' and save. Alternatively, prepare a file with cron entries and run 'crontab
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 10:08 AM
11-12-2004 10:08 AM
Re: how do i give a local user crontab availability
Hi,
You can do all crontab operations for all users as follows:
crontab [file]
crontab -e [username]
crontab -l [username]
crontab -r [username]
If you have an example of crontab for user123, run:
su - user123 -c "crontab cron_example"
HTH
You can do all crontab operations for all users as follows:
crontab [file]
crontab -e [username]
crontab -l [username]
crontab -r [username]
If you have an example of crontab for user123, run:
su - user123 -c "crontab cron_example"
HTH
Entities are not to be multiplied beyond necessity - RTFM
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP