Running Maintenance Scripts

Anyone have a suggestion as to what program might be best for Leopard? 'Maintenance' (with the wrench icon) and Cocktail, and Onyx won't work on 10.5 ????!!!
Any other programs available?
Thanks

ChicagoLarry,
I was curious about the same thing, so I've typed the following in my Terminal window to see what has run and when:
ls -la /private/var/log/*.out.
What I've found is a bit odd...
With Macaroni turned off, the scripts seem to run on my iMac after it has been awakened from sleep--that's good. However, they don't seem to run on my Powerbook after it's been awakened...I don't understand why...
Also, I had a problem with the latest version of Macaroni initially running the weekly script on my iMac... It tried to run the script but couldn't seem to complete it. After I manually ran the scripts (sudo periodic daily weekly monthly), then Macaroni seemed to accomplish them ok. (I've had Macaroni turned off on both my computers until I can verify that (1) it's needed, and (2) it properly runs daily, weekly, and monthly scripts...)
So, to answer your question: The definitive answer is either, "I don't know," or "It depends."
More research to do!!
Woo Hoo!
Bob

Similar Messages

  • Run Maintenance Scripts

    On my PM G5 in the past I have successfully run maintenance scripts as follows:
    periodic daily weekly monthly
    from the terminal window with no problems. Usually when the command line is
    executed the sys asks for master password and when it is entered, the program runs
    without further messages, only cursor displayed, until it finishes and returns
    the command line prompt.
    Now suddenly when the command is executed the sys returns:
    208-106-62-250:~ richardrkelley$ periodic daily
    /usr/sbin/periodic: line 1: /var/log/daily.out: Permission denied
    /usr/sbin/periodic: line 106: 370 Broken pipe date
    cat: /tmp/periodic.7sKejqD8Mz: Bad file descriptor
    cat: /tmp/periodic.7sKejqD8Mz: Bad file descriptor
    cat: /tmp/periodic.7sKejqD8Mz: Bad file descriptor
    208-106-62-250:~ richardrkelley$
    I have run the disk utility and repaired permissions and repaired the disk
    with no change. There were some minor repairs done to permissions and disk.
    I would appreciate advice as the how to fix this problem and to prevent
    future occurrence of same.
    Thanks all.

    Oops; I had a senior moment.
    The correct command to run maint scripts is:
    sudo periodic ........
    sorry for the dumb question.

  • Running Maintenance Scripts for Mac OS 10.5.8 HELP!

    I am trying to run the maintenance scripts on my laptop for the first time. I go to Terminal type in "sudo periodic daily weekly monthly" and hit return. A warning message pops up the some data may be lost.... and the the Password prompt comes up. I back up consistently so I just want to run the scripts since it has never been done. However, when I try to type in my password, NOTHING types. I hit return and tried again, but nothing. Can someone please help me figure out what is wrong and if there is any other maintenance I need to do to the system?
    Thanks in advance for any help.

    You don't need to use any utility, or perform any procedure, to make sure OS X's built-in maintenance tasks have run under OS X 10.5 and later.
    OS X 10.5 will run its cron jobs automatically (actually, they are no longer handled by the UNIX facility "cron", they are now handled by a similar facility called "launchd". if that means anything to you) whether you have left your computer on all night or not. You no longer need a utility to run missed maintenance as of OS X 10.5. It will run automatically at the next available opportunity. Actually, this was the case as of OS X 10.4, but a bug kept the maintenance routines from running more than once per restart under OS X 10.4. This was fixed in OS X 10.5
    http://discussions.apple.com/message.jspa?messageID=6552347
    http://arstechnica.com/reviews/os/macosx-10.4.ars/5
    http://developer.apple.com/macosx/launchd.html

  • Do i need to run maintenance scripts

    does OS 10.6 still run
    daily  weekly and monthly maintenance scripts

    Hi m,
    The scripts are still performed in the early morning hours, but most people don't have their Macs awake at that time on a regular basis. Running them is very quick in Terminal.
    sudo periodic daily weekly monthly

  • Error When Running Maintenance Script

    When I try to execute the Maintenance Task script that was generated by AWM, I get the following error:
    Successoracle.AWXML.AWException: Action BUILDDATABASE failed on object SCHEMA.AW_NAMEThe weird thing here is that there is no actual ORA error, and even the XML_LOAD_LOG updates itself with information about
    the current maintenance, but the dimension is not actually maintained.

    Hi duncanwarrender,
    According to your description, you get errors when double-clicking on the Maintenance Plan. Based on my research, this issue could be due to that DTS Package is corrupt or missing. You could follow the steps below to troubleshoot the issue.
    1.Uninstall Management tools. In Control Panel, click Uninstall a program, click Microsoft SQL Server (for example, Microsoft SQL Server 2012(64-bit)) and click Remove. Select a instance and then select the feature 'Management tools' to uninstall.
    2.Reinstall the following features from SQL Server setup, make sure that the installation of these tools complete successfully.
    a. SQL Server data tools
    b. Client tools SDK
    c. Client tools backwards compatibility
    d. Management tools-complete
    There is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/en-US/2b7d4e19-fafa-4d06-a01c-22e62ea074be/not-able-to-access-maintenance-plans?forum=sqlgetstarted
    Regards,
    Michelle Li

  • Do I still have to run maintenance & cron scripts?

    Do I still have to run maintenance scripts or does Apple take care of them? If I do is there an inexpensive effective app. to do this automatically for me? Thanks.

    If you machine is asleep when the periodic maintenance tasks are scheduled (3:15AM for daily, weekly and 5:30AM for monthly) they will be run shorly after your machine is wakes up.  They are launchd LaunchDaemons now.  Cron is no longer used for these.  Still, as with cron, the tasks will not be performed if the machine was off at the scheduled time (reference).

  • Does OS X automatically run the maintenance scripts?

    Can someone tell me if OS X (10.6 or 10.7) automatically runs the Daily, Weekly and Monthly maintenance scripts when my computer is asleep? If not, does OS X cause these scripts to run at the next point when the computer awakes?

    Yes, Apple fixed that issue that they would only run in the early AM when most users have their machines off/sleeping and clog the machine up.
    No need to worry about having to do anything anymore unless you have a glitchy issue, then the free OnyX will clean your machine's caches out nicely.
    http://www.titanium.free.fr/

  • Running Periodic Maintenance Scripts in Mountain Lion

    Here's an oldie question that I think has been asked with every new version of Mac OS X.  If a user shuts down his Mac in the evening and restarts in at 7AM the next morning, do the three periodic maintenance scripts ever run in Mountain Lion?
    It's easy to run them manually in Terminal or even with with an Applescript that I wrote, but do they need to be run under the condition I posed above?
    Thanks.

    For those people stating that no one needs to run these scripts or that they're somehow dangerous, please reconsider before posting inaccurate things like that.
    I haven't seen anyone stating that the scripts are dangerous. Clearly, they aren't. They are, however, unnecessary if the system is rebooted every day. The only exception is the periodic daily script 100.clean-logs, which deletes symbolic links in /Library/Logs/CrashReporter to crash and panic reports in /Library/Logs/DiagnosticReports older than 60 days. The reports themselves are deleted by a different process. Conceivably, if this script didn't run for a long enough time, the boot volume might fill up with broken symlinks to deleted crash reports. How long would that take?
    Well, a symbolic link takes up 77 bytes of storage space. Storage devices, however, allocate space in minimum units of one sector, which is usually 512 bytes. Some of the newer 3 TB hard drives have a 4096-byte sector size. So let's make some worst-case assumptions. Your boot drive is 3 TB, and you have only 1% of that space free, which is 30 GB. You generate 100 crash reports a day -- those being only crashes of system processes, of course, not user processes, which are logged to a different place. So your volume is filling up with symbolic links at the rate of about 400 KB a day. At that rate, it would take only about 75 years to fill it up completely.
    So you're quite correct. If your system is always shut down -- not in sleep -- between the hours of 3:15 and 5:30 AM every day, you should manually run 100.clean-logs at least once every 75 years. Let's say once every 25 years, to be on the safe side. Thanks for pointing that out.
    Properly Maintain Macbook pro: Apple Support Communities

  • OBIEE 11g write back to Essbase and run calc script feature

    Hi,
    I have a requirement to write back into Essbase Cube and run calc script from OBIEE dashboard.
    From what i have search on google, we must deploy additional Java Script into weblogic, but that is before OBIEE 11.1.1.6.
    I have 2 question:
    - Does OBIEE 11.1.1.6 already supported native write-back to Essbase and running calcscript?
    - Anyone has example of the custom java-script for write back and running calcscript?
    And another, if there are requirement like this, is it better to install Essbase Add-in on Microsoft Excel and do the what-if analysis there, then just display the report on OBIEE dashboard? (based on user-friendliness and the complexity on maintenance)
    Thanks in advance.

    Hi,
    Even I am trying to achieve the same thing as you have mentioned but think that it is not possible to achieve easily in obiee 11.1.1.6, though we do have a work around to perform a writeback in Essbase cube using JAPI as mentioned below.
    Also we can call Hyperion reports from OBIEE using Action Links and also pass parameters to the same but dont know if it runs calculation script.
    Below link could be useful for you for write back workaround.
    http://oraclebizint.wordpress.com/2009/05/25/oracle-bi-ee-10-1-3-4-1-writebacks-to-essbase-using-japi-and-custom-html-part-1/
    Let me know in case you have found out anything else related to same.
    Thanks,

  • Execution of maintenance scripts in Lion

    Hi there,
    as of the latest update to OS X Lion, the maintenance scripts have ceased to perform automatically.  Before, the scripts executed at their proper times (daily, weekly, monthly) and whenever the computer was running (no need to wait for specific time slots).  I was able to verify the processes via Maintidget, a widget that monitors script activity and can also be used to execute them manually.  As I said, presently there is no more automated script activity - I have to force their execution via Maintidget.  Does anyone has an idea why this should be so?

    the discussion of the timed maintenance is an old one and does no longer apply.
    Sure it does.  Those scripts are ancient carry-overs from the early days of Unix and have not been changed much since then.
    Also, macjack has a good point.  Verify what the widget is telling you.  Paste the following command into the Terminal to find out when they last ran:
    ls -al /var/log/*.out
    The output on my machine is:
    Hyperion:~ thomas$ ls -al /var/log/*.out
    -rw-r--r--  1 root  wheel  355773 Feb 20 06:05 /var/log/daily.out
    -rw-r--r--  1 root  wheel    1352 Feb  1 06:07 /var/log/monthly.out
    -rw-r--r--  1 root  wheel    2697 Feb 18 09:31 /var/log/weekly.out

  • Maintenance scripts

    Hi everyone,
    I have two questions that I need help with, both related to the running of maintenance scripts. I downloaded and installed "anacron" the other day. When I check terminal, I notice that the daily maintenance script runs between midnight and 1am each day. I'm pretty sure that the default time for Tiger is somewhere between 3 and 4 am, a time which is assumed to not have much user activity. If the maintenance scripts are now being run around midnight or 1am, times when I am likely to be using the computer, will I notice a system slowdown? I've heard that supplemental maintenance scripts programs, (like Onyx, anacron, macjanitor, etc) are not necessary.
    I would uninstall the program, but I've tried searching for the files that the readme says to delete, and I am unable to find them (using the Finder and EasyFind). I am not sure if the program has now replaced Tiger maintenance, and if I delete anacron then the Tiger scripts won't run anymore. Can someone provide me with a way to safely uninstall the program and ensure that the scripts will still run? Thank you.

    Hi Louis
    I have been running Anacron for several years with no problems. You will not know when it is running most of the time unless you hear your hardrive clicking. Since my computer sleeps through the scheduled times it normally would run, it will run the scrips at times after the time period exceeds the time limit set since last run. Daily scripts every 24 hrs., etc. Anacron will check every hour to test the time limit to see if it needs to run and will run the scripts when needed. Therefore, if your computer was sleeping or off less than 24 hrs. of the time the daily script was set to run or since the last time it was run and you wake it or turn it on 3 days later, the daily script will run approximately 15 minutes past the next hour.
    As I said, it has never given me a problem and you won't ever have to worry about the log files getting bloated.
    These scripts don't really need to be run that often and some people prefer to use manuel programs such as ONYX to run them on occasion. That's probably more of a personal preference. I choose not to want to think about it and let Anacron do it's thing. If I ever think it may be causing problems, I won't hesitate to remove it. But so far on 3 computers, no problems.
    But if you feel the need to uninstall it follow this:
    To uninstall Anacron, go to Hard Drive/Library/LaunchDaemons/anacron.plist. Move the file "anacron.plist" to the desktop and restart the computer. Then you can trash anacron.plist file.
    Or, search in the Finder or with spotlight for Anacron. You will see the "anacron.plist" file. Delete it and restart the computer. Then you will be able to empty the trash.
    I can't really say how much this and permission repair has really helped, but I can tell you that for 3 years I have virtually no problems with my computers and have never had to reinstall the operating system on any of them other than updating or moving to the newer OSX.

  • Maintenance Scripts?? MacJanitor?

    On my G4 iBook running 10.3 I found and used an app called Macjanitor.
    Here is the blurb from their site.
    Freeware utility to run the system's daily, weekly, and monthly maintenance scripts.
    These scripts are normally run between 3am and 5am, and will not be run if you shut off your Mac at night. This can allow log files to grow very large, and prevent system databases from getting backed up.
    With MacJanitor, you can run these scripts 'by hand' periodically without having to use the Terminal to keep your Mac OS X machine in top racing form.
    Excellent for laptop users and others who shut off or put their Macs to sleep at night.
    Supposedly normal set maintenance scripts in OS X are set to run around 3-5am (not sure where you see this) but they will only run if the system is on (of course) and Not asleep. Well I can guarantee my system is alseep as that time !!
    I also stumbled across someone commenting on how useless MacJanitor was because they use something called Aancron http://members.cox.net/18james/anacron-tiger.html
    Blurb from their site
    Anacron runs the periodic daily, weekly and monthly tasks on your Mac even if the machine (a laptop, for example) spends much of its time asleep or switched-off. Anacron silently checks when you reboot and every sixty minutes while the computer is running to see if the various periodic scripts are overdue, and runs them if necessary. The advantage of Anacron over many other solutions to this issue is that it runs as a proper Unix background process, requires no user intervention, and uses the regular periodic scripts, including local additions or modifications.
    Sounds like a better solution, but I curious to what others due for running these maintenance scripts?
    Has anyone used either of these 2 programs under 10.4?
    Opinions and experiences please.

    Yes, I use OnyX because it runs them at times I have scheduled it to do so. 10.4.0 or later runs them automatically, if the computer is on and idle at 1AM, which isn't normal for many people so running them with an app can be good if you leave your machine running for days or weeks at a time. That said if you shut down your machine down every night there is no need to because the tasks will be run at boot each morning.

  • Root crontab no system maintenance scripts

    Server: HP DL380, Redhat 4 update 6 (download from linux.oracle.com)
    Today I checked crontab and noticed that there are no system maintenance scripts running under root, to e.g. rotate log files, etc. Is this normal, any suggestions please?
    Best regards

    Check the directories below. Linux cron has directories for hourly, daily, weekly and monthly root scripts where you can drop scripts that you want to run periodically. This is handy if you do not want to maintain a root crontab file.
    ll /etc |grep cron
    -rw-r--r-- 1 root root 329 Sep 28 2004 anacrontab
    drwxr-xr-x 2 root root 4096 Mar 27 15:37 cron.d
    drwxr-xr-x 2 root root 4096 Apr 7 16:08 cron.daily
    -rw-r--r-- 1 root root 0 May 12 2007 cron.deny
    drwxr-xr-x 2 root root 4096 Sep 20 2004 cron.hourly
    drwxr-xr-x 2 root root 4096 May 12 2007 cron.monthly
    -rw-r--r-- 1 root root 255 Sep 20 2004 crontab
    drwxr-xr-x 2 root root 4096 Nov 28 2007 cron.weekly

  • Do I need maintenance scripts ?

    I am using Macaroni which runs Unix maintenance script every time I start the computer. At night the cpmputer is shut off. Do I really need to run these scripts with Snow Leopard ?

    I know people have weighed in on this before.
    sudo periodic all
    that is all and no I don't leave mine on, or run them daily, in fact hardly at all. But I do other things to keep the system in top shape.
    as long as the utility is certified compatible, you are fine. I think Onyx, SL Cache Cleaner and others can also automatically schedule cron to run next time, I just don't do anything automatic.
    Every time you start? or once a day? some scripts are only weekly and monthly anyway.

  • Cron, cronX and maintenance scripts

    In my old iBook I used cronX (I think that's the name) to set the unix maintenance scripts to run when the computer is likely to be awake. I don't know that those things bought me anything, but can't hurt, right?
    My problem - I'd like to get a current version for the new MacBook (wow! - way cool!) but neither Google nor VersionTracker have a listing for any version of cronX. I recall it came from somewhere in Europe so perhaps that's why? Also have heard of MacJanitor and maybe a couple of other apps that will do a similar function.
    Can anyone point me to a source for cronX or similar?
    Thanks!
    MacBook 13" 2.0GHz   Mac OS X (10.4.6)  

    Oops - got lucky searching for something else!
    It's cronniX from http://h5197.serverkompetenz.net:9080/abstracture_public/projects-en/cronnix/
    MacBook 13" 2.0GHz   Mac OS X (10.4.6)  

Maybe you are looking for

  • How to set Print...More Options...Current View in ActiveX control?

    I am using Visual Studio 2012 to develop an application that will open large PDFs (24" x 36") and allow the user to zoom to a particular part of the document. I want to give them a Print button on my application to simply print the Current View of th

  • Why won't my mac pro let me reset my security questions?

    why won't my mac pro let me reset my security questions?

  • Macbook Pro Youtube Problems

    So I have a 15" Macbook Pro, and everything has been running fine... up until recently. When watching Youtube videos, my Mac has had no problems loading the videos and going fullscreen into HD mode. Recently, when clicking on a video, and going fulls

  • Release strategy for PO and RO

    Hi All My release strategy for Purchase order and Release Order is same.My release strategy has material group and PO/RO value as characteristics. What I want is that my releaase strategy for PO should be based on value whereas for RO it should be ba

  • Create User as Portal30 fails

    Hello guys, I'm trying to create new users through my portal30 user (or even via the portal30_admin) and I constantly get just an error message. Why is this happening? Isn't the portal30 guy the admin of the portal installation? Thank you!