Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. riteshch

    HELP NEEDED WITH EXPECT & CRONTAB

    I added "#!/usr/bin/expect" in crontab as part of hit and trail.. but with and without this result is same... I also suspect stdin issue.. now i am even calling a wrapper scipt first from cron tab which calls my script.. in wrapper script i am setting TERM e.t.c but still result is same
  2. riteshch

    HELP NEEDED WITH EXPECT & CRONTAB

    I have a expect script which does rlogin to a remote box and runs a script there on remote box.. when i run it from command prompt it runs fine... but when i run it from crontab it does not... it gets stuck when expecting a password.. can anyone help me on this please ? === SCRIPT =====...
  3. riteshch

    Problem in calling shell script from crontah

    I tried with spaces but same result... As you suggested I'll start a new post and hopefully there I'll find an answer ... thanks a ton Laurie
  4. riteshch

    Problem in calling shell script from crontah

    I tried but still Its not working... waits for pwd...though same from command prompt it work,.. Subject: Cron <sunil@homer> /usr/bin/expect /home/sunil/eastLoad/runSigill X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/home/sunil> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=sunil>...
  5. riteshch

    Problem in calling shell script from crontah

    I tried using . /home/sunil/eastLoad/runSigill and here are the messages which i get in mail... [sunil@homer baais]$ mail Mail version 8.1 6/6/93. Type ? for help. &quot;/var/spool/mail/sunil&quot;: 1 message 1 new >N 1 root@localhost.local Sun Jul 27 18:38 22/805 &quot;Cron...
  6. riteshch

    Problem in calling shell script from crontah

    Here is the crontab and other entries... [sunil@homer eastLoad]$ echo $SHELL /usr/bin/ksh [sunil@homer eastLoad]$ pwd /home/sunil/eastLoad [sunil@homer eastLoad]$ ls runS* runSigill [sunil@homer eastLoad]$ crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. #...
  7. riteshch

    Problem in calling shell script from crontah

    It cretes problem when I run it from CRONTAB
  8. riteshch

    Problem in calling shell script from crontah

    Hi, I got your reference from a website while looking for a solution of a problem. here is the problem: I have a expect scrips which does rlogin and then runs a script there. on sun solaris box &quot;a12345&quot;, i have a scripts #!/usr/bin/expect eval spawn rlogin b12345 -l testuser...

Part and Inventory Search

Back
Top