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 SkipVought 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. jehixson

    Crontab Entry

    Thank you everyone for your help. I did change the date to a 3 to run on Wednesdays however, I have to change the file permissions to 750 to make it executable. I tested and it runs gfreat. Again thanks for your help.
  2. jehixson

    Crontab Entry

    I have written a small script to run on our servers. I wanted to place it in the crontab so it will run automatically. When I place the entry in the crontab, it does not run. This is what I have entered. 00 13 * * 4 /weekly I want the script to run at 1pm on wednesdays. The file is located in...
  3. jehixson

    removing files after running a find command

    Well from the last post, it appears that I can add the command find / -name core | xargs rm to the end of the script. Basically running the find command twice. Once so it will output to a file and at least have a record of what core files were there and then again to remove the files...
  4. jehixson

    removing files after running a find command

    Hello and a big thank you to everyone that has helped me in the previous posts. I am looking for a little more assistance now. I am running a simple script to find files named "core" once these files are found and written to a file, I would like to remove the core files. The only thing I have is...
  5. jehixson

    Finding newest file and tail -f

    Thank you all for the help. My problem was that I was using the regular ' and not the `. It is now working. Thanks again for your help
  6. jehixson

    Finding newest file and tail -f

    This is what I get when I run either of the two commands suggested. > tail -f 'ls -t actv.0* | head -1' UX:tail: ERROR: Cannot open ls -t actv.0* | head -1: No such file or directory
  7. jehixson

    Finding newest file and tail -f

    Hello again, I am trying to find a way to find a file by name and date/time created and then tail -f the file. Is there an easy way to do this? Basically I have 20 files named ***.001 - ***.020. These are files that are continuously writing logs. I need to be able to find the newest file...
  8. jehixson

    HELP! Telnet, rsh, cat help needed

    Thank you thank you thank you. Now I can remove the script from all the servers except the first one. BTW it works. I do not know why I did not think of this. This is why these forums are so great.
  9. jehixson

    HELP! Telnet, rsh, cat help needed

    Ok I have something I can not figure out. I am trying to do a few things here. I have the basic script down for one server but I need to run these comands on six servers. I need only one script with all of the output compiled to one (1) file. Here is the script. #!/bin/sh...
  10. jehixson

    running commands and emailing

    I just threw it in there. I am not sure if it actually needs it. It takes about 15 to 20 and sometime up to 30 seconds to find the "core" files on the system. Thanks for the help!
  11. jehixson

    running commands and emailing

    as I stated before, I am new to unix scripting so not much. I need to find files, disk status, and volume and plexes then combine them together and send a .txt file via email them to a specific email address. I also need to find the same files on a standby system in which I can telnet to but I...
  12. jehixson

    running commands and emailing

    I need a little help with a script. 1. run a find command. 2. telnet to antoher server and run a find command. 3. exit to origianl server. 4. run another find command. 5. run 1 last find command. 6. save all the ouput text to a text file. 7. email to a specific address. Fairly new but I do know...

Part and Inventory Search

Back
Top