- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: No entry in crontab but there is a log for one...
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
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
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
08-11-2011 10:00 AM
08-11-2011 10:00 AM
No entry in crontab but there is a log for one command in /var/adm/cron/log
Hi All,
In my one my HPUX server,The following command is being executed on 1st and 15th of every month...And the same has been logged in /var/adm/cron/log...The command has been executed by the user ID "p01edi"...
Example;
# more /var/adm/cron/log
> CMD: cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;ksh bin/Fn_LOG_PURGE.sh
> p01edi 10290 c Wed Dec 1 09:10:00 CST 2010
But I can not see any entry like "cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;ksh bin/Fn_LOG_PURGE.sh" in crontab of "p01edi"...
$crontab -l
00 * * * * cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;bin/smgr -sedssrftp -eEDI_ROOT=/appl/gentran/p01edi
00 10,22 * * 01,02,03,04,05 cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;bin/smgr -stpupdate -eEDI_ROOT=/appl/gentran/p01edi
58 23 * * 01 cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;bin/smgr -sFAReport_MON -eEDI_ROOT=/appl/gentran/p01edi
59 23 * * * cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;bin/smgr -sFAReport -eEDI_ROOT=/appl/gentran/p01edi
30 * * * * cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;bin/smgr -sedssrftp -eEDI_ROOT=/appl/gentran/p01edi
58 23 * * 02,03,04,05 cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;bin/smgr -sFAReport_mod -eEDI_ROOT=/appl/gentran/p01edi
00 * * * * cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;bin/smgr -sdm_alert -eEDI_ROOT=/appl/gentran/p01edi
30 * * * * cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;bin/smgr -sdm_alert -eEDI_ROOT=/appl/gentran/p01edi
00 * * * * cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;bin/smgr -sgensysalert -eEDI_ROOT=/appl/gentran/p01edi
30 * * * * cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;bin/smgr -sgensysalert -eEDI_ROOT=/appl/gentran/p01edi
How to see where the command "cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;ksh bin/Fn_LOG_PURGE.sh" is configured to run on 1st and 15th of every month....
- Tags:
- cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2011 01:39 PM
08-11-2011 01:39 PM
Re: No entry in crontab but there is a log for one command in /var/adm/cron/log
Check and see if it is being run by an 'at' job.
# at -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2011 12:50 AM
08-12-2011 12:50 AM
Re: No entry in crontab but there is a log for one command in /var/adm/cron/log
Hi:
Verify crontabs of all users:
# ll /var/spool/cron/crontabs/
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2011 01:17 AM
08-12-2011 01:17 AM
Re: No entry in crontab but there is a log for one command in /var/adm/cron/log
> p01edi 10290 c Wed Dec 1 09:10:00 CST 2010
This is months ago. What does a more current cron log entry look like?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2011 05:18 AM
08-12-2011 05:18 AM
Re: No entry in crontab but there is a log for one command in /var/adm/cron/log
Hey;
You can see if Fn_LOG_PURGE.sh is referenced in any cron by executing
grep -li fn_log_purge /var/spool/cron/crontabs/*
As another poster mentioned, at jobs are also a possibility:
at -l
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2011 08:57 AM
08-12-2011 08:57 AM
Re: No entry in crontab but there is a log for one command in /var/adm/cron/log
grep -li fn_log_purge /var/spool/cron/crontabs/*
at -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2011 09:02 AM
08-12-2011 09:02 AM
Re: No entry in crontab but there is a log for one command in /var/adm/cron/log
@senthil_kumar_1 wrote:
Have tried the following commands...but no output.
grep -li fn_log_purge /var/spool/cron/crontabs/*
at -l
And so, as Dennis asked, do you see *current* occurances in the cron.log --- something recent and not December 2010 as you first posted?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2011 04:03 AM
08-16-2011 04:03 AM
Re: No entry in crontab but there is a log for one command in /var/adm/cron/log
Dear All,
Please find the recent log.
> CMD: cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;ksh bin/Fn_LOG_PURGE.sh > p01edi 5476 c Wed Jun 1 09:10:00 CDT 2011
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2011 05:13 AM
08-16-2011 05:13 AM
Re: No entry in crontab but there is a log for one command in /var/adm/cron/log
@senthil_kumar_1 wrote:Please find the recent log.
> CMD: cd /appl/gentran/p01edi;. /appl/gentran/p01edi/.edi_env;ksh bin/Fn_LOG_PURGE.sh > p01edi 5476 c Wed Jun 1 09:10:00 CDT 2011
Senthil:
Do you really consider a log entry that is 45-days old, "recent"? It seems as if you are chasing a ghost that has long vanished.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2011 11:29 AM
08-16-2011 11:29 AM
Re: No entry in crontab but there is a log for one command in /var/adm/cron/log
>Do you really consider a log entry that is 45-days old, "recent"?
Right. As rariasn said, check the date on the crontab file and see if modified more recently.
# ll /var/spool/cron/crontabs/