Need a windows script to check all unix db boxes are pinging ?

Hi ,
I need a windows script to check all unix remote db boxes are pinging ?
I need to show the output in an html file.
Can anyone suggest ideas ?

I have a script that "kind of" works. The only problem I've seen is that it gets confused when filenames contain characters that are fine in Macland but not good in Unixland. Forward slashes are a good example of this.
In this case I have a folder in my home named "copytest" Inside copytest are two folders:
Source (containing the images to be added)
Dest (My existing library of images)
It also assumes that the folder of images to be added contains no sub-folders. Hope this helps.
tell application "Finder"
set theSource to folder "source" of folder "copytest" of home
set imagesToBeCopied to name of every file of theSource
end tell
repeat with theFile in imagesToBeCopied
try
if (do shell script "find -r ~/copytest/dest -name " & quoted form of (theFile as string)) is not equal to "" then
--The file exists. Don't copy it
else
--the file doesn't already exist. Copy it.
end if
on error
return "Failed while trying to check for existence of a file"
end try
end repeat

Similar Messages

  • My autofill stopped working recently.  I looked under preferences and all the necessary boxes are checked.  When I start to fill out a form, the autofill box comes up, but when I click on it, it turns blue and nothing else happens.

    my autofill stopped working recently.  I looked under preferences and all the necessary boxes are checked.  When I start to fill out a form, the autofill box comes up, but when I click on it, it turns blue and nothing else happens.

    Back up all data, then test after each of the following steps that you haven't already tried. Stop when the problem is resolved.
    1. Press the down-arrow key. (Credit to ASC member iNeight.)
    2. Quit and relaunch Safari. Force quit if necessary.
    3. Click in the first field to be filled, and then select
    Edit ▹ AutoFill Form
    from the menu bar. You may have to reload the page in order to do this.
    4.  Select
    Contacts ▹ Preferences ▹ vCard
    and uncheck the box marked
    Enable private me card
    if it's checked.
    5. Select your card in Contacts. Then select
    Card ▹ Make This My Card
    from the menu bar.
    6. In Safari, select
    Safari ▹ Preferences ▹ AutoFill ▹ AutoFill web forms: Using info from my Contacts card
    If the box was already checked, uncheck it and then check it again.
    7. Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
    Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.
    8. Run Software Update and install any available updates.

  • HT2520 I have an old MacBook Pro running OS 10.7.5.  I would like to sync up my contacts with my iPad.  I have checked all the right boxes in iCloud.

    I have a MacBook Pro running OS X 10.7.5.  I would like to sync my contacts from my iPad with my MAC.  I've checked all the appropriate boxes in iCloud on both devices.  What am I not doing or doing wrong?

    Bobby D,
    Thanks for the help.  I learned quite a bit from your answer.  Turns out I was looking in Outlook for the MAC instead of Address Book on my MAC which already had all my contacts.  Once I imported them to Outlook, problem solved.  It will be interesting to see if when I add a new contact it updates Outlook.
    Thanks again,
    rpayne556

  • When attempting to print in Pages, I keep getting a message that no printer is detected. I have checked all connections and they are solid, this printer has always worked before, and even if I try to add it, I still get that message.

    When attempting to print in Pages, I keep getting a message that no printer is detected. I have checked all connections and they are solid, this printer has always worked before, and even if I try to add it, I still get that message. I can print from all other applications, just not any Pages documents.

    You may just have an outdated printer driver.
    Menu > Edit > Print > Printer: Add Printer
    Peter

  • I just got a new I Phone 4S and my volume is all the way up but the other person sounds far and i could bearly hear them. i checked all settings and they are all up as high as they can go

    I just got a new I Phone 4S and my volume is all the way up but the other person sounds far and i could bearly hear them. i checked all settings and they are all up as high as they can go. This is my first I Phone and don't know if this is normal for this phone

    Hi Flex,
    Congrats on the first iPhone.  This is not normal.  First check if moving the volume up or down either way has any impact on the sound.  Then see what happens while on speakerphone.  If you can hear ok on speakerphone, and there's no change from the regular earpiece with the volume changing, check with the carrier you received it from or the Apple store you purchased from.  They will have other things to look at for you.

  • I am trying to install Lightroom and I am OK until it asks for a serial number. I purchased Lightroom from B&H and the have entered the seal number on the the B&H invoice. Nothing happens, not all the entry boxes are filled with the serial number that was

    I am trying to install Lightroom and I am OK until it asks for a serial number. I purchased Lightroom from B&H and the have entered the seal number on the the B&H invoice. Nothing happens, not all the entry boxes are filled with the serial number that was provided by B&H. I looked for a serial number on and in the box it came in, nada. Need a bit of help here, what can I do?
    RJ@

    Try to connect on Live chat one more time.
    Still not connected , better to contact Adobe Phone Support
    Click on Phone option and check once :
    Contact Customer Care

  • Need a bat script to check Server status remotly.

    Hi,
    I need bat script to check server status remotly (Ping) for multiple servers. It should generate a txt file for result.
    Thanks.

    Hi Ravi,
    To ping multiple computers and generate report cia cmd, please refer to the script below, the "fnm" is computer name list and the "lnm" is the result, and you can save the script below as .bat file:
    @echo off
    set fnm=d:\test1\computers.txt
    set lnm=d:\test1\ping.txt
    if exist %fnm% goto Label1
    echo.
    echo Cannot find %fnm%
    echo.
    Pause
    goto :eof
    :Label1
    echo PingTest STARTED on %date% at %time% > %lnm%
    echo ================================================= >> %lnm%
    echo.
    for /f %%i in (%fnm%) do call :Sub %%i
    echo.
    echo ================================================= >> %lnm%
    echo PingTest ENDED on %date% at %time% >> %lnm%
    echo ... now exiting
    goto :eof
    :Sub
    echo Testing %1
    set state=alive
    ping -n 1 %1
    if errorlevel 1 set state=dead
    echo %1 is %state% >> %lnm%
    Refer to:
    Explain the Batch script to ping multiple computers
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Whilst abroad I could receive but not send email and now at home I still cannot send email I have checked all settings and they are correct

    I have problems when abroad - I can receive email but not send. Usually when I get home it is ok but not this time - I have checked all email settings and they are correct. I have tried removing the account ane re entering but no joy - any suggestions?

    OS X Mail: Troubleshooting sending and receiving email messages

  • Checking ALL songs (little boxes) in one's library

    I have a minor dilemma. My son has an ipod. I have an ipod. He is ten years old. I do not want him to have his own iTunes library (yet). He has made his own play lists and so on. So have i for myself. Now here is the problem. The little bugger wanted only his songs on his ipod and this i can understand.
    So whilst i wasn't looking (and thinking he was playing mini-games on notdoppler website as he does so often to entertain himself on our iMac).... he unchecked a whole whack of my songs until i found out and i showed him the problem with doing that (meaning good for him, ... bad for me). So how do i go about checking ALL the boxes very quickly without taking three hours to check each unchecked little box?
    Message was edited by: ogopogodude

    Select all songs (click on one, press command-a or choose "Edit" > "Select All"). Control-click (or right-click) on the selected songs to get the context-sensitive menu and choose "Check Selection".
    Needless to say, in the future the "little bugger" should change his sync settings for his ipod so only songs on his playlists should appear on his iPod, rather than using the check box feature.

  • I run firefox on three computers and on this one my website font is not correct. All of my boxes are set up the same. Please advise.

    As I mentioned above I have three pc's all running win7 and firefox 6.02. On this box website fonts are different than the others. All of the "option" settings are identical on all of the boxes. Including "allow pages to choose their own fonts". I uninstalled 6.02 and installed 5.0 but there was no difference. So I reset to 6.02.
    The pages look fine in IE.
    Please advise.

    That change needs to be made to the CSS file that is on the web server.
    So if you use a CSS file or have the CSS code in the main HTML file then add <b>font-stretch: condensed;</b> to all CSS rules that have a ''font-family: "Arial Narrow";''
    If you do not have access to the page code and can't modify it then there is not much that you can do.
    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=25

  • POP Blocker is not blocking ADD's - Says add blocked... but the add opens in a new window! This started yesterday! Have checked all settings and they are OK even cleared all history cache and cookies.

    It now seems that every page that comes up has works highlighted in blue.. if you scroll over them the add pops up. Click on a picture in an article and up pops an add in a separate window also.
    Need help!

    Try Adblock Plus addon with Easylist subscription and check
    * https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/

  • Script To Find All Photo's That Are Not in an Album?

    I used to have some sort of a script that would do that... Create an album of all the unfiled photo's. Unfortunately, it seems to have disappeared. Does anyone know a script or program of some kind that would so this? Any help appreciated...

    And it was just that easy... Thanks!

  • Report to check all cost object balances are Zero in Monthend

    Dear Friends,
    We are facing an issue in every monthend while doing FI and COPA reconciliation that some balances are left in cost objects. Can any one please suggest any single report if any which will show balances in all cost objects instead of individual reports for cost object. Also suggest tables to be used , Pro and cons of devoloping Z report for this requirement.
    Thanks & Regards
    Ravi

    Check the following tcode
    S_SL0_21000007 - Cost Elements: Breakdown by Company Code
    This will provide you the balances lying in cost objects.
    Regards,
    Divraj

  • Advanced action: jump to next slide if all text entry boxes are filled out. If not, pause project and show error message

    Hi there
    Working with captivate 4 and advanced actions, which is a great new feature, I encounter the following problem:
    I have a sign-in slide, where the user has to insert his name and several other data. For user-friendly handling, I have the text entry boxes appearing one after another, so when the user confirms his entry, the next text entry box appears and has the focus.
    The button for jumping to the next slide works with an advanced action:
    Only if the user has filled out all the text entry boxes, the action "jump to the next slide" is performed.
    If not, an error message is shown.
    It works well so far.
    Now, I want the project to pause there, and not to jump back to the beginning of the slide (as suggested in another Thread in this forum), because then the text entry boxes dissappear again.
    I tried to set the movie control variable rdcmndPause to 1 in order to make the movie pause, but nothing happens.
    I tried it with an external playback control bar and without, it didn't work in either case.
    I found the hint:
    To control the project through the skin file, add the prefix cpSkinLoader_mc to the variables. This might be the solution.(?)
    But how can I change the name of a MovieControl Variable?
    If anyone knows, how this is supposed to work or has another suggestion to solve the problem, please let me now.
    Thanks a lot.
    Petra

    Hi Petra,
    I believe I can help you, but from a completely different angle than anything you've tried yet.  I try to find simple solutions to complex problems.  No advanced actions will be needed, just a little creative timing.  First, I need to be sure I correctly understand what it is you're hoping to accomplish.
    If I understand you correctly, you've got a single welcome slide.  On this slide you've got several TEB's (text entry boxes), set up with variables to make your project more personal or gather some required information.  These TEB's have no right or wrong answers, they simply require an entry: such as an address which begins with a numeric key.  The TEB's are set to appear one after another, as one is completed the next one appears.  Once all have been completed a next button, set to "jump to next slide" takes them  to the next slide and on through your course.  You want the project to pause until the user clicks this button, and only proceed if all TEB's have been entered.  If not, you wish an error message to appear.
    If the above description is correct, I'd do the following:
    Leave your TEB's to show up one at a time as the previous is submitted, as you've described. (each one pauses the slide till info is submitted, then "continues" the slide and the next TEB displays)
    Set each TEB to "display for rest of slide".
    For the next button:  In the properties dialog box, options tab, name the button "Next_button" and uncheck the visibility box.
    Open the properties for the final TEB that students will fill in and set the on success property to "show" then choose the Next_button by clicking the drop down arrow beside the "show" field.  This will hide the Next button until all TEB's have been filled in.
    There is no error message, because there is no possibility of error.  Why tell a student they've messed up, just eliminate that possibility!    All TEB's only display after the previous is entered, and the Next button is hidden until the last TEB is entered.
    I've tested this in a simple 3 slide project and it all worked fine, including some variables.  If you need more detailed info, or would like to see the sample proj. I created let me know.
    Hope this helps.
    randy

  • All of the webpages are showing up "strange" not all the colors are showing, not all the correct boxes are showing, and there are numerous errors in the error console (which doesn't help me)! Is there just a way to reset everything to go back to normal??

    Some of the error codes are:
    filter
    background
    border radius
    box shadow
    height

    See:
    * http://kb.mozillazine.org/Website_colors_are_wrong
    * http://kb.mozillazine.org/Websites_look_wrong
    Other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.0 r45
    # Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

Maybe you are looking for

  • Change pointer for HR master data is not getting generated in table BDCP

    Hi, I have done all the required configuration for change pointer for HR master Distribution and it was working fine few days back. Now suddnly it has stopped working. Can anyone assist me on how should i debug it. Thanks Sunil Singh

  • CO_TXT_OUTBINDING_ERROR , No standard aggrement found for ,

    Hello, I have a scenario XI-to-IDOC.  I created a Service Interface and publish them as a Web Service. I created a WSDL file from the Integration Builder(Configuration) and When I test the WSDL with the XML Spy, I got a following error message, CO_TX

  • How do i delete everything?

    I have a copy of all the apps and everything, so i'm ready to get.. Except i don't know how. Like restoring your iDevice will delete all apps and files and totally reset everything. I want to do this with my Macbook7,1. I have Lion yes, but using the

  • FaceTime with UAE MacBook Pro in UK?

    Hi, I am traveling to Dubai soon, I was planning on picking up a new MacBook Pro while I was there. I understand that there is some sort of restriction on FaceTime (and maybe other things?) If I bought a MBP and signed in with my UK Apple ID would it

  • Songs wont play the full length.

    I just bought an album off of itunes, and only 3 our of the 17 songs play full length. How can I fix this?