- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cron job still running after user deleted
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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-11-2004 02:10 PM
тАО11-11-2004 02:10 PM
cron job still running after user deleted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2004 02:22 PM
тАО11-11-2004 02:22 PM
Re: cron job still running after user deleted
Try to execute:
#crontab -e
Then deleted all the cron entry
regards,
paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2004 02:24 PM
тАО11-11-2004 02:24 PM
Re: cron job still running after user deleted
You could add an entry to the cron.deny file for that user or simply re-instate the user id and then remove the cron file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2004 02:25 PM
тАО11-11-2004 02:25 PM
Re: cron job still running after user deleted
every users crontab will be listed there.
You delete the file named after the user and his cron jobs will stop running.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2004 05:09 PM
тАО11-11-2004 05:09 PM
Re: cron job still running after user deleted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2004 05:42 PM
тАО11-11-2004 05:42 PM
Re: cron job still running after user deleted
So if you remove the crontab of this user in /var/spool/cron/crontabs and stop/start cron his job will stop running.
Did you check /var/adm/cron/log if it is indeed a cron job that is still started.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2004 07:29 PM
тАО11-11-2004 07:29 PM
Re: cron job still running after user deleted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2004 08:26 PM
тАО11-11-2004 08:26 PM
Re: cron job still running after user deleted
I always removed the userfile (the file name beeing userID ) in /var/spool/cron/crontabs and it always worked...
The files beeing removed are normally the onee
All the best
Victor
To be sure if the file is removed - /do a /sbin/init.d/cron stop/start
What do you see now?
only the files existing in /var/spool/cron/crontabs are executed...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2004 08:35 PM
тАО11-11-2004 08:35 PM
Re: cron job still running after user deleted
Have you thought reading what the other files in /var/spool/cron/crontabs do? It may be after all someone else generating these files...
All the best
Victor