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
Forums
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
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
02-16-2005 08:32 PM
02-16-2005 08:32 PM
Crontab
how can i achive that using crontab
i made the entries like this .but its not even executing ..i added teh user name in cron.allow also .. i can able to run the script manually
entries i made in crontab
0 2 * * 5 /hoem/admin/test.sh
but its not even executing the script .
crontab daemon is running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 08:35 PM
02-16-2005 08:35 PM
Re: Crontab
Is the path a typo? You have typed /hoem/admin/test.sh.
You may want to check the permissions on this file - should be something like rwxr--r--.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 08:36 PM
02-16-2005 08:36 PM
Re: Crontab
/home/admin/test.sh
i had given chmod 777 test.sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 08:38 PM
02-16-2005 08:38 PM
Re: Crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 08:38 PM
02-16-2005 08:38 PM
Re: Crontab
# crontab -e
or vi ?
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 08:39 PM
02-16-2005 08:39 PM
Re: Crontab
Do you see the job starting in /var/adm/cron/log? Try this:
grep "test.sh" /var/adm/cron/log
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 08:39 PM
02-16-2005 08:39 PM
Re: Crontab
i used crontab -e only
and cross checked by crontab -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 08:41 PM
02-16-2005 08:41 PM
Re: Crontab
Iam having some more jobs working fine .
so that i want to confirm the timings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 08:44 PM
02-16-2005 08:44 PM
Re: Crontab
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 08:55 PM
02-16-2005 08:55 PM
Re: Crontab
/sbin/init.d/cron stop
then
/sbin/init.d/cron start
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 08:58 PM
02-16-2005 08:58 PM
Re: Crontab
crontab -l >mycrontab
cat -v mycrontab
This will display any dodgy characters that may have been introduced during the edit.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 09:03 PM
02-16-2005 09:03 PM
Re: Crontab
I was wrong .I have not checked the logs properly