Checking if script is running

I need to find out if a script is not running. When I do the "ps -afe | grep nameOfScript" it gives me no output if the "nameOfScript" is not running. How can I get an output or get a message to say "nameOfScript" is not running. Is there some sort of grep or something I can use to get this to work

The fact that nothing comes back means the script isn't running - usually. Your script logic is what takes care of saying "Thar ain't nuttin' here honey".
But using your ps -afe example you need to make sure you only get back instances of the running script. With your example, if I run "vi nameOfScript", your ps -afe command will show my vi command in the list and your script logic may incorrect assumely the script is running when it really isn't.
You need to make your logic that looks for the script running a bit more specific. The way you run the script will dictate how it shows up in a ps listing. Like this:
cd /path/to/script
./nameOfScript &
In a "ps -afe", this will show up as the string:
/bin/ksh ./nameOfScript
But if you execute it with the full path:
/path/to/script/nameOfScript &
It will show up as:
/bin/ksh /path/to/script/nameOfScript
So you can see, your logic has to handle all fo these cases. From practical experience, its usually better to have the script create a temporary PID file somewhere. When the script dies, it automagically deletes this file or something. When you check to see if the script is running, you read contents of PID file (assuming it exists), and check a ps listing to see if PID 1234 (or whatever the PID is) is really your script. Kinda a pain in the arse I know but this is usually the best way to handle this.
Probably more then you asked for ;>

Similar Messages

  • How to check RBS maintainer is running or not and how to stop the RBS maintainer for a specific content db.

    HI
    how to check RBS maintainer is running after deleting orphan blobs and  while deleting the blobs from rbs storage,
    and also how to stop the RBS maintainer for a specific content db.
    when I run below query  I found the orphancleanup value true
    SELECT [config_key],[config_value] FROM [mssqlrbs_resources].[rbs_internal_config]
    where config_key='orphan_cleanup_in_progress'
    adil

    HI
    the  RBS maintainer was run from one of web front end server  And for one content database , that fine
    but I  now know this information only this did by other administrators.
    Now I did not found this Maintainer running in windows task scheduler, but blobs are decreasing from content database RBS storage folder, and  also I found this maintainer running I checked from  when  run sql queriy in  sql
    server
    SELECT
    [config_key],[config_value]
    FROM
    [mssqlrbs_resources].[rbs_internal_config]
    where
    config_key='orphan_cleanup_in_progress’
    it  given me true
    here now  I want to stop this orphan cleane up , what settings and script I will run?
    adil

  • Newbie Q: Setting scripts to run on Start Application

    Please help!
    CS3 says you just check the Enable Events to Run Scripts/Actions checkbox and choose Photoshop Event: Stat Application to run your script on startup but for me it's like Photoshop has had it's memory wiped if I close it and reopen it!
    The Script Event Manager looks like it does when you've only just installed Photoshop.
    How do I get PS CS3 to remember my choices so it runs my setupWorkspace script when it opens?
    It's my first ever PS script, design to compensate for the fact that even though PS shows that my saved workspace is the current one on restart up it is in fact the default workspace until I reselect it from the Workspace menu.
    I'm on a MacBook Pro and my scripts are in a folder, which I created and chose in PS using Browse to path, called Users/myName/Library/Application Support/Adobe/Adobe Photoshop CS3/Presets/Scripts
    Would love to get in to scripting but if I can't even get scripts to run I'll be v sad.

    Here is how to attach a script to an event:
    http://ps-scripts.com/bb/viewtopic.php?t=58
    Larry

  • Calc scripts are running low

    Hi All,
    Few of our calc cripts are runnig low for EPM applications.
    Its happening like some of the calc scripts are running fine..while a few other are running slow.
    Can you ugget what thing needed to be checked
    Thanks

    Hi,
    The version is not mentioned.
    Hope the below tuning methods are helpful:
    1. Check that compression settings are still present. In EAS, expand the application and database. Right-click on the database > Edit > Properties > Storage tab. Check that your "Data compression" is not set to "No compression" and that "Pending I/O access mode" is set to "Buffered I/O". Sometimes the compression setting can revert to "no compression", causing the rapid growth of the data files on disk.
    2. On the Statistics tab, check the "Average clustering ratio". This shoud be close to 1. If it is not, restructure you database, by right-clicking on it and choosing "Restructure...". This will reduce any fragmentation caused by repeated data import and export. Fragmentation will naturally reduce performance over time, but this can happen quite quickly when there are many data loads taking place.
    3. Check the caches and block sizes.
         a.Recommended block size: 8 to 100Kb
         b.Recommended Index Cache:
              Minimum=1 meg
              Default=10 meg
              Recommendation=Combined size of all ESS*.IND files if possible; otherwise as large as possible                     given the available RAM.
         c.Recommended Data File Cache:
              Minimum=8 meg
              Default=32 meg
              Recommendation=Combined size of all ESS*.PAG files if possible; otherwise as large as possible           given the available RAM, up to a maximum of 2Gb.
              NOTE this cache is not used if the database is buffered rather than direct I/O (Check “Storage”           tab). Since all Planning databases are buffered, and most customers use buffered for native           Essbase applications too, this cache setting is usually not relevant.
         d. Recommended Data Cache:
              Minimum=3 meg
              Default=3 meg
              Recommendation=0.125 * Combined size of all ESS*.PAG files, if possible, otherwise as large as           possible given the available RAM.
    A good indication of the health of the caches can be gained by looking at the “Hit ratio” for the cache on the Statistics tab in EAS. 1.0 is the best possible, lower means lower performance.
    4. Check system resources:
    Recommended virtual memory setting (NT systems): 2 to 3 times the RAM available. 1.5 times the RAM on older systems.
    Recommended disk space:
    A minimum of double the combined total of all .IND and .PAG files. You need double because you have to have room for a restructure, which will require twice the usual storage space whilst it is ongoing.
    Please see the below document for reference:
         Improving the Performance of Business Rules and Calculation Scripts (Doc ID 855821.1)
    -Regards,
    Priya

  • Unable to Configure a PowerShell Script to Run as a Scheduled Task

    Hi ,
    I have a powershell script from Dieters blog http://scug.be/dieter/2011/07/06/scom-2007-how-to-backup-your-unsealed-management-packs/#comment-1058 which backups the unsealed management packs in SCOM. I am able to run the script successfully in the powershell
    prompt but when i schedule it as a task it fails with an error code 1.
    "Task Scheduler successfully completed task "\Backup Unsealed Management Pack" , instance "{xxxxxxxxxxxxxxxxxxxxxxxxxxxx}" , action "Powershell.exe" with return
    code 1."
    I am running the task using the highest privilages and have tried bypassing the script using and have configured the script as per http://www.metalogix.com/help/Content%20Matrix%20Console/SharePoint%20Edition/002_HowTo/004_SharePointActions/012_SchedulingPowerShell.htm
    -ExecutionPolicy Bypass c:\scripts\myscript.ps1
    Still i am unable to run the task without errors. Kindly assist.
    Jesty

    Hi Jesty,
    Please make sure you have followed these steps to schedule a powershell script task:
    1.  Save the powershell script as .ps1 in local computer.
    2.  Right click the .ps1 file and run with powershell and check if the script can run successfully.
    3.  schedule task->action:Start a program->Program/script:powershell.exe->Add argument:-ExecutionPolicy Bypass c:\scripts\myscript.ps1
    Best Regards,
    Anna

  • I need this indesign cs3 script to run under Indesign cs2

    This is paragraph changes script which is run under indesign cs 3, I need this  script to run under my indesign cs 2, can anyone help me pls?. thank you  in advance
        Fixing paragraph style combinations
        Version: 1.1
        Script by Thomas Silkjær
        http://indesigning.net/
    var the_document = app.documents.item(0);
    // Create a list of paragraph styles
    var list_of_paragraph_styles = the_document.paragraphStyles.everyItem().name;
    // Make the dialog box for selecting the paragraph styles
    var the_dialog = app.dialogs.add({name:"Fix paragraph style pairs"});
    with(the_dialog.dialogColumns.add()){
        with(dialogRows.add()){
            staticTexts.add({staticLabel:"Find:"});
        with(borderPanels.add()){
            var find_first_paragraph = dropdowns.add({stringList:list_of_paragraph_styles, selectedIndex:0});
            staticTexts.add({staticLabel:"followed by"});
            var find_second_paragraph = dropdowns.add({stringList:list_of_paragraph_styles, selectedIndex:0});
        with(dialogRows.add()){
            staticTexts.add({staticLabel:"Change:"});
        with(borderPanels.add()){
            var change_first_paragraph = dropdowns.add({stringList:list_of_paragraph_styles, selectedIndex:0});
            staticTexts.add({staticLabel:"followed by"});
            var change_second_paragraph = dropdowns.add({stringList:list_of_paragraph_styles, selectedIndex:0});
    the_dialog.show();
    // Define paragraph styles
    var find_first_paragraph = the_document.paragraphStyles.item(find_first_paragraph.selectedIndex);
    var find_second_paragraph = the_document.paragraphStyles.item(find_second_paragraph.selectedIndex);
    var change_first_paragraph = the_document.paragraphStyles.item(change_first_paragraph.selectedIndex);
    var change_second_paragraph = the_document.paragraphStyles.item(change_second_paragraph.selectedIndex);
    // Set find grep preferences to find all paragraphs with the first selected paragraph style
    app.findChangeGrepOptions.includeFootnotes = false;
    app.findChangeGrepOptions.includeHiddenLayers = false;
    app.findChangeGrepOptions.includeLockedLayersForFind = false;
    app.findChangeGrepOptions.includeLockedStoriesForFind = false;
    app.findChangeGrepOptions.includeMasterPages = false;
    app.findGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.appliedParagraphStyle = find_first_paragraph;
    app.findGrepPreferences.findWhat = "^";
    //Search the current story
    var the_story = app.selection[0].parentStory;
    var found_paragraphs = the_story.findGrep();
    var change_first_list = [];
    var change_second_list = [];
    // Loop through the paragraphs and create a list of words and mark them as index words
    myCounter = 0;
    do {
        try {
            // Create an object reference to the found paragraph and the next
            var first_paragraph = found_paragraphs[myCounter].paragraphs.firstItem();
            var next_paragraph = first_paragraph.paragraphs[-1].insertionPoints[-1].paragraphs[0];
            // Check if the next paragraph is equal to the find_second_paragraph
            if(next_paragraph.appliedParagraphStyle == find_second_paragraph) {
                    change_first_list.push(first_paragraph);
                    change_second_list.push(next_paragraph);
        } catch(err) {}
        myCounter++;
    } while (myCounter < found_paragraphs.length);
    // Apply paragraph styles
    myCounter = 0;
    do {
        change_first_list[myCounter].appliedParagraphStyle = change_first_paragraph;
        change_second_list[myCounter].appliedParagraphStyle = change_second_paragraph;
        myCounter++;
    } while (myCounter < change_first_list.length);
    alert("Done fixing pairs!");

    CS2 didn't support grep searches so you're going to have to do some serious reworking of the script. It's not a flick of the wrists.
    Dave

  • In InDesign, my script timers are not activated while the script is running

    Hello I have a utilioty plugin in InDesign which is done in ActionScript. This script is launched from inside the plugin dialogbox and does a long export operation. I'm trying to have a feedback of progression in the dialog box, while doing the export operation in the script.
    The problem I have is : if I create a flash.utils Timer to refresh the display, it is not triggered while the script is running ! Only when the script gives back control to InDesign, the timer is triggered and refreshes the display. Therefore, my progressbar displays blind during work, and flashes to 100% at the end. Quite useless.
    Does anybody know a way to get this working, apart from cutting the export operation in a few sub-operations which would be chained via successive timer events ?

    I ask again though: are you really sure the system won't wake from sleep to run maintenance scripts? The time in all of the logs from Onyx, from Maintidget and from the command prompt all say that the scripts are running at 3am(ish) for the daily and weekly scripts, and 5am(ish) for the monthly script - all times that my system is in sleep mode.
    Well, that is the information from Apple - I am not about to stay up all night to check it . FWIW, if those scripts are missed, the computer will not implode - I usually prefer to shut mine down and in that case, the scripts have to be run manually. I do that about once a month (or when I remember to do it)  and have been doing that for many years without any ill effects. Mac OS does not need the maintenance other systems do.
    http://support.apple.com/kb/HT2319

  • What script to run after installation

    Hi gurus,
    I 'v just installed 11.5.5 "prod". Is there any script to run or i can start my implementation straight off.

    You must complete the following tasks to successfully install Oracle Applications 11.5.5:
    - Check the installation manual to complete the post installation steps
    - Read the Known Product Issues section of these release notes and determine when to take the actions listed there
    - Read the Installation Update Notes for your platform
    - Follow the instructions in Installing Oracle Applications to complete your installation of Oracle Applications Release 11i
    - Use AutoPatch to apply AD mini-pack F
    Note: You may be required to apply AD mini-packs as a part of your Oracle Applications installation, even after you have completed your implementation.
    Oracle Applications databases included in Rapid Install 11.5.5 have invalid objects in both the fresh-install production database and the Vision Demo database. You can safely ignore these errors.
    Note: 155875.1 - Release 11.5.5 Release Notes
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=155875.1

  • Why JSP Script Always Run First...

    Hey' i don't understand about this code works, why when i run this page, it always print start in console before i click the button.
    This is my code :
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
            <script language="Javascript">
                function checkButton(){       
                    <%
                    /* This declaration will print in console
                     * every time the page load.
                     * it suppose to be print after i click the buttonCheck button. */
                        System.out.println("start");
                    %>          
            </script>
        </head>
        <body>
             <form name="myForm">
                   <input type="button" value="check" onClick="checkButton()" name="buttonCheck">
             </form>
        </body>
    </html>Why my JSP Script always run before i click the button? JSP script must be run after i click my button. is there any explanation about this?
    Thanks..
    Message was edited by:
    hudoq

    the jsp scriptlet tag will be execute while compilation.
    so all the scriplet tags will be compiled and
    executed while loading. This is generally not 100% true. JSP files will be compiled only once in the fresh server start. This also explains the "long loading time" on the 1st view ;) The subsequent views just executes the already compiled JSP.

  • Cant get any Batch Script to run

    Hello together,
    first of, Thank you for this community.
    It´s a shame, i can´t get any Batch script to run.
    For example a PDF making Batch with a folder selection.
    I always get the alert, no matching files found.
    I use cs 5  on a  g 5 with osx 10.8.2
    here is the script..  should not be a big thing !?
    why does no file fit in the "mask" ?
    here is the script
    ADOBE SYSTEMS INCORPORATED
    Copyright 2005-2006 Adobe Systems Incorporated
    All Rights Reserved
    NOTICE:  Adobe permits you to use, modify, and
    distribute this file in accordance with the terms
    of the Adobe license agreement accompanying it. 
    If you have received this file from a source
    other than Adobe, then your use, modification,
    or distribution of it requires the prior
    written permission of Adobe.
    Export to PDFs.jsx
    DESCRIPTION
    This sample gets files specified by the user from the
    selected folder and batch processes them and saves them
    as PDFs.
    Edits by Patrick Mineault:
    - only .ai files processed
    - files saved in same folder as the input files
    - export files have name (oldname)_export.pdf
    - PDF settings: non-editable / acrobatLayers=false
          for maximum compatibility with Preview
    // Main Code [Execution of script begins here]
    // uncomment to suppress Illustrator warning dialogs
    // app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    var destFolder, sourceFolder, files, fileType, sourceDoc, targetFile, pdfSaveOpts;
    // Select the source folder.
    sourceFolder = Folder.selectDialog( 'Select the folder with Illustrator .ai files you want to convert to PDF');
    // If a valid folder is selected
    if ( sourceFolder != null )
        files = new Array();
        fileType = "*.ai"; //prompt( 'Select type of Illustrator files to you want to process. Eg: *.ai', ' ' );
        // Get all files matching the pattern
        files = sourceFolder.getFiles( fileType );
        if ( files.length > 0 )
            // Get the destination to save the files
            //destFolder = Folder.selectDialog( 'Select the folder where you want to save the converted PDF files.', '~' );
            destFolder = sourceFolder;
            for ( i = 0; i < files.length; i++ )
                sourceDoc = app.open(files[i]); // returns the document object
                // Call function getNewName to get the name and file to save the pdf
                targetFile = getNewName();
                // Call function getPDFOptions get the PDFSaveOptions for the files
                pdfSaveOpts = getPDFOptions( );
                // Save as pdf
                sourceDoc.saveAs( targetFile, pdfSaveOpts );
                sourceDoc.close();
            alert( 'Files are saved as PDF in ' + destFolder );
        else
            alert( 'No matching files found' );
    getNewName: Function to get the new file name. The primary
    name is the same as the source file.
    function getNewName()
        var ext, docName, newName, saveInFile, docName;
        docName = sourceDoc.name;
        ext = '_export.pdf'; // new extension for pdf file
        newName = "";
        for ( var i = 0 ; docName[i] != "." ; i++ )
            newName += docName[i];
        newName += ext; // full pdf name of the file
        // Create a file object to save the pdf
        saveInFile = new File( destFolder + '/' + newName );
        return saveInFile;
    getPDFOptions: Function to set the PDF saving options of the
    files using the PDFSaveOptions object.
    function getPDFOptions()
        // Create the PDFSaveOptions object to set the PDF options
        var pdfSaveOpts = new PDFSaveOptions();
        // Setting PDFSaveOptions properties. Please see the JavaScript Reference
        // for a description of these properties.
        // Add more properties here if you like
        pdfSaveOpts.acrobatLayers = false;
        pdfSaveOpts.colorBars = false;
        pdfSaveOpts.colorCompression = CompressionQuality.AUTOMATICJPEGHIGH;
        pdfSaveOpts.compressArt = true; //default
        pdfSaveOpts.embedICCProfile = true;
        pdfSaveOpts.enablePlainText = true;
        pdfSaveOpts.generateThumbnails = true; // default
        pdfSaveOpts.optimization = true;
        pdfSaveOpts.pageInformation = false;
        pdfSaveOpts.preserveEditability = false;
        return pdfSaveOpts;
    is my problem really that stupid ?
    is it only working in cs 3  ?

    Mr. Schneider, Brilliant =) and weired
    on windows 7 it runs perfectly. even with the prompt commented out ?!?!?!
    Why is it not working on a maC ?
    now i have so many more ideas to optimize my workflow...
    i´am not shure how to get into this ..
    if i have to send out datafiles i have to do several things.
    1.collect images and fonts
    2. throw unused colors away
    3. check if there is white overprinted,if yes fixing it.
    4. put black on overprinting
    5.clean up empty textfields, unfilled objects, and usesless anchorpoints
    6.unlock everything
    7. save the ai
    8.convert in paths
    9.save an *_path.ai
    10.make a printable PDF with our XYZ. Joboptions
    11. preview pdf, optional with a watermark sized 100% 100% to the artboard / artboards
    12. wonderfull would be a print out
    this is just a wishlist.. i want to learn it. . how to do
    will be a hell of scripting or not ?
    is it usefull to do somethings in an action and load the action as a script ?
    In scriptinghappiness best greetings from Germany..

  • Slow script when run as an application

    I have created a script for processing images with Photoshop. When I run the script from Script Editor it completes its task literally twice as fast as when I run it as an application. Does any one have an explanation as to why this would be the case?
    The script in summary asks the user for 2 folders, it then pairs up images from the folders, opens them both in Photoshop, copies the paths from one image to the other, crops the image and saves a copy in the appropriate place, then moves on to the next pair of images.
    I don't understand why it woud run twice as sluggishly as an application?
    Any suggestions much appreciated.

    Rien,
    I have also consistently seen the same problem, and asked a similar question a couple of years ago without a satisfactory response. If you write an AppleScript studio application your script will run at about the same speed as when running the script from script editor.
    To observe the problem you just need an application script that is communicating information back and forth betweent the script and the application it is driving, and then check out the performance difference between running it as an application or not. If you run Activity Monitor you can see that the cpu spends plenty of its time idle when running the script as an application.
    If you grab a copy of iMagine Photo from:
    http://www.yvs.eu.com/downloads/iMaginePhoto.dmg
    and get PhotoScript1 from about 1/2 down the following page:
    http://www.yvs.eu.com/documentation/readingandwritin.html
    Run the script from both within script editor and as the application droplet.
    It demonstrates the problem. But I have seen worse, this was just the first script on my website that I found that demonstrates the problem.
    Kevin

  • AppleScript do script to run a JavaScript

    I have a mac program that uses an AS do script to run a JavaScript. However, although the AS starts ID it never gets to trigger the JavaScript which is there to build a page. My AS do script is like this:
    on run {aScriptPath}
    tell application "Adobe InDesign CS3"
    do script alias aScriptPath language javascript
    end tell
    end run
    Why does the JScript not run?

    >Does the JavaScript have to be inside this directory for it to run on a Mac?
    No. You can just copy js code from ESTK and assign it to the variable in script editor, placing it inside double quotes. e.g.
    set myJsScript to "#target indesign
    var myDoc = app.activeDocument;
    // end of JS code "
    But be sure to use single quotes inside JS then.
    e.g. var myString = 'Blah-blah-blah';
    not var myString = "Blah-blah-blah";
    You can even send and – if my memory serves me right – receive back parameters (aka arguments). If you are interested I can post an example or send you a script that uses this functionality.
    Try to copy, paste and run the generated js code in ESTK to check if it works.
    Kasyan

  • When I open FB it says a script is running and now I can't post pictures, feelings or any of the buttons, and even when I push post it stays grey

    I have a new computer and run Symantec protection on it. When I open Facebook it always says a script is running and asks me what I want to do (continue, debug or end script). Then I can't post pictures of anything on that grey toolbar. When I post just words it stays light grey and if I try to leave the page it says I'm not done, but then posts it anyways...
    Any help would be appreciated. It only happens on mozilla.

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Click the menu button [[Image:New Fx Menu]], choose History, and then "Clear Recent History...".
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the "Clear Now" button.
    Further information can be found in the [[Delete browsing, search and download history on Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • I am trying to update a number of items which the software check brings up:      It runs and says it is installing but at the end I get this error message:    The update could not be expanded, and may have been corrupted during downloading. The update wil

    Hi,
    I am trying to update a number of items which the software check brings up:
    It runs and says it is installing but at the end I get this error message:
    BUT then I ge tthis:
    Can anyone help me to enable the software to update?
    Thanks

    Thanks.  Something isn't right as I just tried to download the iphoto update - it said it had competed the download but then when I clicked on the download item I get this:
    Think will have to take it into the store.....
    thanks for replying.

  • Firefox is taking a long time to open. When it does open, I get a pop up box with "Script not running". Bookmarks on my tool bar don't load. Scrolling is unreliable--it will stop in the middle of a page

    What is causing the "script not running"? Why so long to open? Etc.

    Hi Donekes,
    First off I need a little more information to help with troubleshooting.  You say that an error occurs when you "try to re-open the same problem app before the old session completely exits".  Does the error have an error code or dialog display?  It may also be possible to receive an error log.  Here is a knowledge base that explains how to retrieve error logs.
    http://digital.ni.com/public.nsf/websearch/54E361E3FF477EC186256C320068184F?OpenDocument
    If you are able to get that information then please post.  Have a good day.
    Brian K.

Maybe you are looking for

  • Creation of user home directory in KM

    Using the KM in our portal I noticed the following behavior: When creating an user in the user administration the KM home folder (Root>userhome><i>userid</i>) is not created. When the user logs in and accesses a KM iView (like the document explorer)

  • Audio input and output

    I am trying to get audio to play through from the audio input to the audio output. I have plugged a line-level keyboard into the audio input and as I play it, it shows that it has plenty of input level in the sound panel of the system preferences. Ho

  • How do I uninstall the last itunes update on my new mac?

    Ever since I downloaded the update for itunes it will not let me sync any music onto my classic ipod at all. Stupidly I restored it to maybe sync it and now i just have no music, how do i uninstall this update to have the itunes before on my new mac?

  • Satellite P205-S6277: Can I take off the battery and connect the power too?

    I am working on my notebook Toshiba satellite P205-S6277, 80% of my time at home. Can I take off the battery and connect the power to a backup UPS in order to make battery life longer? I can charge it once a week.

  • Mac broke while trying to install Mountain Lion

    Well installing Mountain Lion turned out to be a disaster for me. After downloading the installer and opening it, the Macbook restarted and went into the installer program. After waiting for about 10 minutes it told me the disk needed to be repaired.