- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: problem with crontab
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
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
тАО07-31-2007 12:05 AM
тАО07-31-2007 12:05 AM
problem with crontab
hereris is how i run it.
sllpg.sh-->which calls g1.sh-->which calls-->r1.exp-->sendingmail.pl
my r1.exp has the code of the remote machine and ssh in this script.so i placed a crontab as
* * * * * /sllpg.sh y is tht expect script doesnt run thru this.
pls explain wht has to be done and whts wrong.Thnks in advance
- Tags:
- crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2007 12:22 AM
тАО07-31-2007 12:22 AM
Re: problem with crontab
try adding >>/tmp/expectlog.txt
You really want this script to execute every minute?
Lars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2007 07:26 AM
тАО07-31-2007 07:26 AM
Re: problem with crontab
Check all of the called scripts and make sure that the full path to all executables is used.
If it doesn't try posting your various scripts so we can help to debug...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2007 08:21 AM
тАО07-31-2007 08:21 AM
Re: problem with crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2007 12:38 PM
тАО07-31-2007 12:38 PM
Re: problem with crontab
Check the /var/log/cron too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2007 12:29 AM
тАО08-02-2007 12:29 AM
Re: problem with crontab
Should Expect rpm should be installed on both the machines??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2007 12:46 AM
тАО08-02-2007 12:46 AM
Re: problem with crontab
You're asking us to try and debug stuff without being able to see the code you've written... we're not psychic !
Have you checked the cron log files as suggested ? Do they tell you anything ?
A quick Google for expect threw up this page:
http://expect.nist.gov/FAQ.html#q26
is that relevant to you ?
Cheers,
Rob