UCron - Userspace Cron

http://blog.barrucadu.co.uk/2008/11/ucr … pace-cron/
I found myself in need of running a script every hour, and get the result reported to me with notify-send. I found no easy way to do this with regular cron, as notify-send needs to be run from within an X session (or so my limited knowledge says), so I decided to write a simple python script to run commands every minute, half hour, and hour.
#!/usr/bin/env python
import time, datetime, os
while(True):
now = datetime.datetime.now()
# Run minutely commands.
os.system("for script in ~/cron/minute/*; do $script; done")
if now.minute == 30:
# Run bihourly commands.
os.system("for script in ~/cron/halfhour/*; do $script; done")
elif now.minute == 0:
# Run bihourly and hourly commands.
os.system("for script in ~/cron/halfhour/*; do $script; done")
os.system("for script in ~/cron/hour/*; do $script; done")
time.sleep(60)
Just make the directories ~/cron/minute, ~/cron/halfhour, and ~/cron/hour, stick a call to uCron in your gnome-session (or whatever you use), and away you go!

whoops wrote:
Thanks!
Phew, that was a lot of stuff... browsed many examples too... and in the end it looks like the crontab was the "right" place to put that thing after all, everything else just seems like a "dirty" or overkill solution in comparison...
The only thing that still irritates me is cron insisting to write every single freaking *success* into the logs (/journal) instead of just warnings / errors. I really don't need that thing telling me: "Hi, I'm still OK! " every other minute -.- but there does not seem to be an option (other than installing a syslog-daemon capable of "blacklisting" the entries as a workaround) to shut it up... which was the reason why I first thought that scripts which are to be executes so often don't belong into the crontab.
Hmm... not sure what to do yet. Is there anything else I should know / read before I make up my mind and stop looking for a better solution to this?
Which cron do you use? I have dcron installed and it has a log level setting - see man crond

Similar Messages

  • Small bash script as userspace daemon?

    Hi!
    I have a small bash script that I want to execute every 5 minutes. It's not vital, I'll notice if it stops working soon enough, so I'd like to get it out of my sight (both how it's started and when it's running - especially I don't want cron spamming the journal all the time. If it's convenient, I might try to pipe some assorted output to logger somehow, but that's not important). Now I'm trying to figure out how something like that is supposed to be done...:
    I have questions like...:
    - Should I modify the script so it has an infinite wait-5minutes-loop itself? And how do I make it break out of the loop if the service-handle-thingy tells it to / does it have to react to environment variables from something?
    - Should I create a service file for systemd or what is supposed to handle such "pseudo userspace daemons"? While I found information on how to create the service files, I couldn't really figure out how the script behind it should look...
    - Also I'm not sure if "daemons" should be executed as root and use sudo or something to do userspace stuff... or if the whole thing should be started as user.
    I found only obsolete looking information on all of those things and examples that are specific to other distributions (saw lot of "start-stop-daemon" - I guess that's debian or something, not archlinux...?). So: Could someone please bump me into the general direction of the stuff I need to use / read?
    Thanks!

    whoops wrote:
    Thanks!
    Phew, that was a lot of stuff... browsed many examples too... and in the end it looks like the crontab was the "right" place to put that thing after all, everything else just seems like a "dirty" or overkill solution in comparison...
    The only thing that still irritates me is cron insisting to write every single freaking *success* into the logs (/journal) instead of just warnings / errors. I really don't need that thing telling me: "Hi, I'm still OK! " every other minute -.- but there does not seem to be an option (other than installing a syslog-daemon capable of "blacklisting" the entries as a workaround) to shut it up... which was the reason why I first thought that scripts which are to be executes so often don't belong into the crontab.
    Hmm... not sure what to do yet. Is there anything else I should know / read before I make up my mind and stop looking for a better solution to this?
    Which cron do you use? I have dcron installed and it has a log level setting - see man crond

  • 64bit kernel with 32bit userspace + pacman integration

    There have been quite some questions about this topic. Sometimes leading even leading to frustration.
    Luckily, a nice writeup was made here with a nice addition to integrate this nicely here.
    Since there is no 32bit PAE kernel distributed by ArchLinux, using a 64bit kernel to enable NX is the only option. But since it only has 1G of memory, I do not wish to install a 64bit userspace + 32bit multilib.
    However, the *exact* steps have been quite a guess (and there is no wiki). That is why I'm writing this down.
    Let's start with the main configuration: pacman.conf
    We need to comment out the Architecture stanza. It's funky. Why? Because it actually has two unrelated purposes:
    As a documented feature, it provides protection against installing incorrect packages from another architecture
    The undocumented feature is the fact that it's literal value is used to replace '$arch' variables in repo URL's
    #Architecture = auto
    Syncing your local repo's just broke as '$arch' is no longer defined (try it now). I ditched /etc/pacman.d/mirrorlist and did this with my remote repo URL's:
    # custom repo for 64bit kernel
    [x86_64-kernel]
    Server = file:///home/$user/x86_64-kernel/
    [core]
    Server = http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/core/os/i686
    [extra]
    Server = http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/extra/os/i686
    [community]
    Server = http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/community/os/i686
    Notice the new custom repo at the top of the file. Adapt your pacman.conf to contain this custom repo as well. Make sure you place it before the [core] repo or whatever other repo is providing your current kernel. The order matters.
    Furthermore, I rewrote the configuration file to not depend on variable substitution. One could argue that substituting $repo was unnecessary, but that does not really matter.
    Second, we setup the repository as a normal user. This can be done by a regular user in a safe way since the packages are all signed. So tampering with packages will not work. You could even dedicate a cron script with a dedicated user to this purpose (which is overkill).
    mkdir /home/$user/x86_64-kernel/
    Third, we use a small script to handle this custom repo. We place it at /home/$user/x86_64-kernel.sh . Subsitute the variable R_REPO with your favorite ArchLinux mirror. Make sure this URL points to a 64bit core repository.
    #!/bin/bash
    set -e
    set -o pipefail
    L_REPO=/home/$user/x86_64-kernel/
    R_REPO=http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/core/os/x86_64/
    cd "$L_REPO"
    wget -nv "$R_REPO"/core.db -O core.db
    DESC=$(tar -tf core.db | grep '^linux-[0-9.-]*/desc$' | tail -n1)
    KERNELPKG=$(tar -xf core.db "$DESC" -O | grep -A1 '^%FILENAME%$' | tail -n1)
    if ! [[ -f "$KERNELPKG" ]]; then
    wget -nv "$R_REPO"/"$KERNELPKG"
    wget -nv "$R_REPO"/"$KERNELPKG".sig
    repo-add -q x86_64-kernel.db.tar.gz "$KERNELPKG"
    fi
    Now we are in fact done with the configuration. Substiture $user for your current user in all the sections and do the following:
    # create repo, this script also updates it when newer 64bit kernels arrive
    user $ bash /home/$user/x86_64-kernel.sh
    # update pacman's database
    root # pacman -Syy
    # install 64bit kernel
    root # pacman -S linux
    Pacman will be able to update this kernel as long as you run x86_64-kernel.sh every once in a while. I put it in XFCE session startup to run at each session login. You could do this with cron as well.
    I tested what hapenned if something went wrong with this repo. Pacman handles this very nicely actually. If you delete the repository, it will complain but not immediatly install the 32bit kernel given you have a 64bit already installed with this repo.
    A final note: If you build a lot of packages you could run into trouble. Someone in the forums made a good suggestion about that here -> ("init=linux32 /usr/lib/systemd/..."). This is a nice system-wide way to trick your buildsystem into believing it's a 32bit machine. This is sometimes required. I don't use as I don't have a problem with it. But keep this in mind.
    EDIT: Fixed update script to overwrite core.db and not create new ones like core.db.n .
    Last edited by Rexilion (2014-02-01 15:41:29)

    That is nice. Pity I did not know about this earlier. However, my method allows me to stick with the official packages. Thanks though!

  • Cron job not running - script uses rsync, ssh (with id_rsa)

    Does anyone know how to get cron to run a rsync/ssh script which uses id_rsa for passwordless logins?
    I have a backup script I have slaved for months over that works wonderfully when running it from the command line.
    It uses rsync and connects with SSH (passwordless using ssh keys). I have setup id_rsa and id_rsa.pub for passwordless logins (this is my user account, and connects using root@ to the server)
    As stated all works find when run from the command line. But when I setup a cron job to run this file (exact same line I run from the command line) it does not execute. Actually, it does run, as I have an email notifiction which sends to me. It is just the rsync/ssh part that does not run.
    I have spent days and days trying to figure it out. No error messages occur, nothing.  Took me a while to find out cron is emailing the user account on Lion the messages (not to a proper email address).
    The error shows a permission denied, which I believe to be the cron user cannot use the id_rsa/ssh connection.
    Cron is running the script as my user, the same I use on the command line. I even tried copying the id_rsa to the root user .ssh folder in case cron is running as root but that does not work either.
    So does anyone know how to get cron to run this rsync/ssh script which used id_rsa for passwordless logins?
    Thanks a lot

    YES! Got it working, finally!
    So the issue is indeed cron/launchd not being able to access the ssh-agent which holds the key.
    So this is the solution...
    Download keychain for Mac:
    http://www.funtoo.org/wiki/Keychain
    Then once its installed and configured, the script to run needs this added to the top:
    eval `keychain --noask --eval id_rsa` || exit 1
    Note I am using id_rsa whereas keychains instructions refer to id_dsa so I just changed it and it works OK.
    When the script runs the first time it asks for the key password. Then it works from then on.
    What I do not know yet is will I need to re-enter the password when I logoff/logon again. That will cause an issue as I auto restart the Mac every day which means if I am off for a few days backup will stop (can you see the madness in this issue!).

  • [SOLVED] Problem with cron and unison

    I've got a very strange problem I cannot solve.
    I have set unison to synchronize my laptop (mercure) against my home computer (jupiter). It works really fine.
    I can run it from the terminal:
    unison -batch CERTES
    and it runs good.
    I have set ssh keys so that id doesn't ask me for a password. And that runs fine too because if I do ssh to jupiter, I log in without any password.
    That's what the unison profile looks like:
    [jordi@mercure ~]$ cat .unison/CERTES.prf
    root = /home/jordi/CERTES
    root = ssh://[email protected]//home/jordi/Macbook
    After this, everything is ok.
    Then I set a cron job so this is done once an hour everyday using crontab -e:
    0 * * * * /usr/bin/unison -batch CERTES
    And every hour I receive this mail:
    Contacting server...
    Permission denied, please try again.
    Permission denied, please try again.
    Permission denied (publickey,password).
    Fatal error: Lost connection with the server
    Ok then, this seems like cron can't log into jupiter with ssh as I thought. So I modify /etc/ssh/sshd_config to put this option:
    PermitUserEnvironment yes
    I do the same on mercure, even if I think it's useless, but...
    I always receive the same error and I can't get the 2 folders synchronzed.
    Before my hard drive crashed a week ago, I had unison running by cron and it was working nice, but now I'm unable to do it again...
    Does anyone has a clue about what's happening and how to solve it?
    Last edited by jcerdan (2008-07-04 09:52:00)

    I have tried adding source to the crontab but I got the same error.
    This is the env output from cron:
    CONSOLE=/dev/console
    SHELL=/bin/sh
    CMDLINE=root=/dev/disk/by-uuid/25d2ee78-61ac-4b43-929a-28180b156786 ro
    TERM=linux
    rootdelay=0
    USER=jordi
    INIT_VERSION=sysvinit-2.86
    ro=y
    PATH=/bin:/usr/bin:/sbin:/usr/sbin
    _=/usr/bin/env
    RUNLEVEL=3
    PWD=/home/jordi
    PREVLEVEL=N
    root=/dev/disk/by-uuid/25d2ee78-61ac-4b43-929a-28180b156786
    SHLVL=3
    HOME=/home/jordi
    kinit_params= rootfstype=ext3 rootdelay=0
    And this is the env output from the terminal:
    [jordi@mercure ~]$ env
    XDG_DATA_HOME=/home/jordi/.local/share
    SHELL=/bin/bash
    TERM=xterm
    DESKTOP_STARTUP_ID=
    HISTSIZE=1000
    QT_XFT=true
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/jordi/.gtkrc-1.2-gnome2
    WINDOWID=54526543
    QTDIR=/opt/qt
    GTK_MODULES=gnomebreakpad
    USER=jordi
    GNOME_KEYRING_SOCKET=/tmp/keyring-C1rLTl/socket
    SSH_AUTH_SOCK=/tmp/keyring-C1rLTl/ssh
    KDEDIR=/opt/kde
    OOO_FORCE_DESKTOP=gnome
    SESSION_MANAGER=local/mercure:/tmp/.ICE-unix/3449
    USERNAME=jordi
    MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins:/opt/mozilla/lib/plugins
    XDG_CONFIG_DIRS=/etc/xdg:/opt/kde/etc/xdg
    PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin
    DESKTOP_SESSION=gnome
    GDM_XSERVER_LOCATION=local
    INPUTRC=/etc/inputrc
    PWD=/home/jordi
    JAVA_HOME=/opt/java/jre
    LIBXCB_ALLOW_SLOPPY_LOCK=true
    EDITOR=vi
    LANG=es_ES.utf8
    GNOME_KEYRING_PID=3448
    GDM_LANG=es_ES.utf8
    KDEDIRS=/opt/kde:/usr
    PS1=[\u@\h \W]\$
    PS3=>
    GDMSESSION=gnome
    PS2=>
    HISTCONTROL=erasedups
    SHLVL=1
    HOME=/home/jordi
    PS4=+
    XDG_CONFIG_HOME=/home/jordi/.config
    GNOME_DESKTOP_SESSION_ID=Default
    XDG_CACHE_HOME=/home/jordi/.cache
    LOGNAME=jordi
    LESS=-R
    CLASSPATH=:/opt/java/jre/lib
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-5ncgDqnWoO,guid=1e082c45cdb24be2d415016e486c820b
    XDG_DATA_DIRS=/usr/share:/usr/local/share:/usr/local/share/:/usr/share/:/usr/share/gdm/:/opt/kde/share
    PKG_CONFIG_PATH=:/opt/kde/lib/pkgconfig:/opt/qt/lib/pkgconfig
    WINDOWPATH=7
    DISPLAY=:0.0
    J2REDIR=/opt/java/jre
    G_BROKEN_FILENAMES=yes
    COLORTERM=gnome-terminal
    XAUTHORITY=/home/jordi/.Xauthority
    _=/usr/bin/env
    A lot of vars are different, but they refer to the Gnome environment. I can see that SHELL, TERM are different, but I don't know what can make the difference.
    Do you think there's a problem there?

  • Keep getting error message from 'Cron Daemon'

    I have been running an Xserve G4 with Mac OS X Server 10.3.9 as a mail server and web server for several years now with no problems. Recently, however, I tried to set up a mailing list, which I had never done before. When I tried doing this, OS X automatically created a mailing list called "Mailman" for me, in addition to the mailing list I created.
    Now I keep getting error messages sent by "Cron Daemon <[email protected]>" to that "Mailman" mailing list. The error messages are sent to the mailing list and I get them as a subscriber to the list. They read:
    ====
    From: [email protected]
    Subject: [Mailman] Cron <mailman@www> /usr/bin/python -S /usr/share/mailman/cron/senddigests
    Date: 6 mai 2006 12:00:00 HAA
    To: [email protected]
    Modules/gcmodule.c:215: failed assertion `gc->gc.gc_refs == GC_REACHABLE'
    Mailman mailing list
    [email protected]
    http://www.mydomain.com/mailman/listinfo/mailman
    ===
    I did some research on the OS X Server support pages and discussion forums and couldn't find any references to such a problem.
    With a worldwide search with Google, I only found very obscure stuff about Python, which I know nothing about.
    The mailing lists appear to be working fine other than that (and the fact that Mailman uses "www.mydomain.com" instead of just "mydomain.com").
    Any help would be greatly appreciated.
    Pierre

    Thanks for the clarification. I really do not need anything fancy at this point. Also, please note that I am still using Server 10.3.9, not 10.4.
    Now, as for the initial problem, I am afraid it is not gone. It has just changed. Here's what I got in my mailbox this morning:
    ===
    From: [email protected]
    Subject: Un envoi sur la liste Mailman à partir de [email protected] requiert une approbation
    Date: 8 mai 2006 09:25:02 HAA
    To: [email protected]
    En tant qu'administrateur de liste, votre autorisation est nécessaire
    pour l'envoi du message suivant vers la liste:
    Liste: [email protected]
    De: [email protected]
    Objet: Cron <mailman@www> /usr/bin/python -S /usr/share/mailman/cron/gate_news
    Raison: Envoi par un non-abonné sur une liste reservée aux abonnés
    Quand vous le souhaitez, rendez-vous à:
    http://www.mydomain.com/mailman/admindb/mailman
    pour approuver ou rejeter la demande.
    From: [email protected] (Cron Daemon)
    Date: 8 mai 2006 09:25:01 HAA
    To: [email protected]
    Subject: Cron <mailman@www> /usr/bin/python -S /usr/share/mailman/cron/gate_news
    Modules/gcmodule.c:215: failed assertion `gc->gc.gc_refs == GC_REACHABLE'
    From: [email protected]
    ===
    In other words, the error message is still coming, but now it's being sent by "[email protected]" and since this is not a subscriber to the list, I get the admin notice requiring approval. (It's in French because I am using mailman's French-language option, but you should get the gist of it .)
    I still do not know:
    1) what causes this message and what it means
    2) why it's coming from "[email protected]" rather than "[email protected]".
    Like I said, I changed the "host_name" option from "www.mydomain.com" to "mydomain.com" in both mailing lists I have, but obviously there is still some part of Mailman that thinks it should be using "www.mydomain.com".
    I am afraid I still don't know what to do about this.
    FWIW, I ran the check_perms command you gave me this morning and it did find 10 problems and corrected them. I don't know yet if this will help with this particular problem.

  • How to take the cron job log in HP UX?

    Hi,
    How to take the cron job log in HP UX
    I need to run a backup and other stuff everyday. How do I check and start cron service under HP-UX UNIX operating system? How do I write cron jobs?
    A. Cron service is required to run jobs and tasks such as backup.
    You must login as the root to run following commands. Each user that is using the cron service must have a cron configuration file in the /var/spool/cron/crontab directory. Also users are permitted if their name appeared in /var/adm/cron/cron.allow file
    Task: Find out if cron is running under HP-UX
    Type the following command at a shell prompt
    # ps -ef | grep cron
    Open /etc/rc.config.d/cron file
    vi /etc/rc.config.d/cron
    Set control variable to 1 to enable cron: CRON=1
    Set control variable to 0 to disable: CRON=0
    Close and save the file. To start or stop cron you can type the following command:
    # /sbin/init.d/cron start <-- start cron
    # /sbin/init.d/cron stop <-- stop cron
    Task: HP-UX Start cron service
    If cron is not running, simply type:
    # cron
    Task: Edit / create cron jobs
    Type the following command to submit a cron job:
    # crontab -e
    List your cron file:
    # crontab -l
    Backup all your cron jobs:
    # crontab -l > ~/backup.cron.jobs
    Remove ALL cron job:
    # crontab -r
    Task: Crontab file format
    Cron file format is as follows:
    MIN HOUR DATE MONTH DAY /PATH/TO/COMMAND
    0-59 0-23 1-31 1-12 0-6 /root/scripts/backup2tape.shEasy to remember crontab file format:
    * * * * * command to be executed
    | | | | |
    | | | | ----- Day of week (0 - 7) (Sunday=0 or 7)
    | | | ------- Month (1 - 12)
    | | --------- Day of month (1 - 31)
    | ----------- Hour (0 - 23)
    ------------- Minute (0 - 59)To run /root/script/backup at 23:00, every day, enter:
    # crontab -e
    Append following
    0 23 * * * /root/script/backupRun foo job very weekday (MON-Fri) at 6am, enter:
    0 6 * * 1-5 /root/script/backupFor more information refer to cron and crontab man pages.
    Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.
    Related Other Helpful FAQs:
    What is Cron?
    Linux Start and stop the cron or crond service
    Run crontab Every 10 Minutes
    Linux / UNIX Setup and run php script as a cron job
    Stop Ubuntu / Debian Linux From Deleting /tmp Files on Boot
    Discussion on This FAQDavid Says:
    January 15th, 2008 at 12:21 am
    You might note that all files normally found in /etc/init.d, /etc/rc*.d, and others are all in /sbin in HP-UX 10.20 and up.
    Note too that your formatting is off in the description of the /etc/rc.config.d/cron file. Also, if you run /usr/bin/cron instead of /sbin/init.d/cron start, the /etc/rc.config.d/cron file is not used.
    Regards,
    Satya

    I guess it would :)
    btw, how did this piece miss from the contents pasted by the OP ?
    The doc has given all details of CRON and missed where to see the logfiles. :)
    ****Added****
    I tried man crontab in windows, i dont see it.i overlook most of the things, i would have done the same ;)
    Edited by: Bobcatalog on Oct 23, 2008 9:40 AM

  • Need help with a cron job

    What I want to do is run an Applescript every 6 hours and 1 minute. If the computer is asleep when the job comes due, I want it to execute the script and reset the counter. Can crontab do this? If so, how to set it up?

    Gnarlodious wrote:
    Then skip it, I can see there is no easy way.
    I don't think it's that hard, though. Just a bit tricky. I was just a bit confused on what exactly you wanted.
    I could write a stay-open Applescript application, but I wanted to avoid cluttering up the Dock just to run a command every 6 hours.
    Nah, I wouldn't want that either.
    If I were doing something like this and I wanted it to work like this:
    1. Run every six hours, at 6 AM, noon, 6 PM, and midnight.
    2. Run after waking up if the computer has been asleep and missed any of the times in between, say if you let the computer sleep thru the 6 AM job.
    I'd do this:
    1. Call the AppleScript periodically from a cron job. How often would be dependent on how tight you want the times to be to when you wake up.
    2. Have the AppleScript save a text file somewhere with the time when it runs. That way, if your computer is asleep at 6 AM, the script could use this to decide if it missed running while it was asleep.
    3. Have your script check this time and if it's over 6 hours, let the script do its thing. If not, then just exit, to try all this again the next time cron runs it.
    Here's kind of a pseudo-code way of describing it:
    check if it's 6:01, 12:01, 18:01, 00:01
    if yes:
    do your AppleScript business
    save the current time in a file
    exit
    if it's not one of those times:
    check if it's been over 6 hours since the AppleScript did its business
    if yes:
    do the AppleScript business
    save the current time in a file
    exit
    if no:
    exit
    Then you could do two cron jobs:
    1 */6 * * * /path/to/applescript
    */5 * * * * /path/to/applescript
    The first one would run at your appointed times. The second would just run every 5 minutes to catch those times when the computer was asleep. The "5" could also be "10" for every ten minutes. Or whatever you decide you'd like.
    I'd show you an AppleScript, but I'm really not so good at that. If a Perl script would help, I could whip one up pretty quickly, I think.
    charlie

  • Is it possible to have a Cron job in CPO to check the running status of a workflow

    Is it possible to have a Cron job in CPO to check every hour to see if a particular workflow is running, if not trigger it by creating a alert, if yes- autokill

    Hi Warren,
    We don't want our process to expire and also not to execute twice at once. We have a provisioning wrapper workflow which is triggered one time by an alert and it runs endlessly by creating an alert at the end of each instance triggering another instance of the same unless CPO hangs or goes to stand by mode. Since we belong to service team, we don't have any kind of access to CPO DB or logs, so that possibility is ruled out. Just checking for alternatives. 

  • Cron job help- Need to run the Autobuddy command every night...

    I have not written anything in the form of a Unix script for YEARS and YEARS. Our XServe was built in Advanced mode, currently running 10.5.4 Server. On this box, we are running Wiki and iChat. Since we built this box as an Advanced box the "Autobuddy" option was not available.
    I have since enabled it at the command line, but I am told by Apple that there still needs to be a command run after every time a user logs in if you want others to Autobuddy. That command is this:
    "sudo /usr/bin/jabber_autobuddy -m"
    Now I think this would be pretty easy to setup as an automatic cron script, but like I said, I have not written something like this in forever. Not to mention, I am not 100% sure what needs to happen since running the script with an sudo command will prompt for the root password.
    I was wondering if anyone would be able to help me write the script up, and give me some instructions on how to install it. I just want it run everyday, midnight is fine, I don't really care. All I know is that we have a dept of 150 people, and it grows and shrinks all the time. They can deal with a new user not being seen for 24-48 hours, I just want to get this automated.
    Any helps would be GREATLY appreciated!
    Thanks
    Tom

    If you want to keep it simple try [CronniX|http://www.abstracture.de/projects-en/cronnix] a graphical tool for setting up CRON jobs on OSX. Whilst I have not actually done an autobuuddy in this way, I cannot see any reason why it will not run as a Cron Job.
    The proper way ideally would be to use the launchd service.
    Something like this should work:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>org.jabber.dailyautobuddy</string>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/bin/jabber_autobuddy</string>
    <string>-m</string>
    </array>
    <key>LowPriorityIO</key>
    <true/>
    <key><UserName></key>
    <string>admin</string>
    <key>StartCalendarInterval</key>
    <dict>
    <key>Hour</key>
    <integer>0</integer>
    <key>Minute</key>
    <integer>05</integer>
    </dict>
    </dict>
    </plist>
    (not sure why, but tabs are not showing up, making this hard to read)
    Message was edited by: Tim Harris

  • Mail backup, automated with Mailbfr & Cron. Not working!

    I have been using the Mailbfr utility for a while now, brilliant tool!
    Following the manual I tried to get mailbfr to be run by cron every night, somehow this is not working. I keep getting this error in /var/log/system.log:
    +Mar 5 02:00:01 Saturn com.apple.launchd[1] (0x100c80.cron[4161]): Could not setup Mach task special port 9: (os/kern) no access+
    This is the contents of sudo crontab -e:
    +0 2 * * * /usr/sbin/mailbfr -b /Volumes/Backups/MailBackup --mode rotate+
    I have been searching for the 'Mask task special port' problem which apparently seems to be some sort of bug, but is there a solution??
    Also, I did just notice that my own admin account on the server has two cron jobs from a backup tool called SuperDuper. They do work.
    Help?

    I think that the conclusion for the problem is that ANY task performed by CRON results in this error being printed to the log.

  • Dynamic filename for stdout from cron

    OL 5.6 x86-64
    I'm looking for a way to dynamicly specify a filename for stdout from a cron job.
    From a command line, this works fine:
    /home/estevens/bin/x1 > /tmp/estevens_x1_log.`date +%F_%H%M%S`Producing the desired output:
    estevens:dwdev$ ls -ltr /tmp/est*
    -rw-rw-r-- 1 estevens estevens 96 Aug 13 10:23 /tmp/estevens_x1_log.2012-08-13_102356But when I put that in my crontab:
    12 * * * 1 /home/estevens/bin/x1 > /tmp/estevens_x1_log.`date +%F_%H%M%S`I get this result
    /bin/sh: -c: line 0: unexpected EOF while looking for matching ``'
    /bin/sh: -c: line 1: syntax error: unexpected end of file(Result comes to me in an auto-generated email)

    The % sign has a special meaning in cron. A % is used to denote a new line in a crontab entry. You will simply have to escape the % signs and it should work, for instance:
    <pre>
    12 * * * 1 /home/estevens/bin/x1 > /tmp/estevens_x1_log.`date +\%F_\%H\%M\%S`
    </pre>

  • Photoshop CS5.1 crashes using cron script that open application

    Photoshop CS5.1 crashes when trying to launch the application using a cron script. This happens on two different machines running 10.7.3. Photoshop opens without crashing when manually running the bash script. The same script works both manually and as a cronjob on 10.6.8. The cron script:
    open -a "/Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app"
    Any help is appreciated.
    The crash report:
    Process:    
    Adobe Photoshop CS5.1 [1332]
    Path:       
    /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/MacOS/Adobe Photoshop CS5.1
    Identifier: 
    com.adobe.Photoshop
    Version:    
    12.1 (12.1x20110328.r.145] [12.1)
    Code Type:  
    X86-64 (Native)
    Parent Process:  launchd [801]
    Date/Time:  
    2012-02-21 15:04:07.739 -0800
    OS Version: 
    Mac OS X Server 10.7.3 (11D50b)
    Report Version:  9
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
    VM Regions Near 0:
    -->
    __TEXT            
    0000000100000000-00000001026fc000 [ 39.0M] r-x/rwx SM=COW  /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/MacOS/Adobe Photoshop CS5.1
    Application Specific Information:
    objc[1332]: garbage collection is OFF
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   com.apple.CoreFoundation 
    0x00007fff919abc12 CFArrayGetCount + 18
    1   com.adobe.Photoshop      
    0x00000001012e11d2 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 16797070
    2   com.adobe.Photoshop      
    0x00000001012e146b AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 16797735
    3   com.adobe.Photoshop      
    0x00000001012e17ec AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 16798632
    4   com.apple.Foundation     
    0x00007fff8e59dd32 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
    5   com.apple.CoreFoundation 
    0x00007fff919e8aaa _CFXNotificationPost + 2634
    6   com.apple.Foundation     
    0x00007fff8e589fe7 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65
    7   com.apple.AppKit         
    0x00007fff9599b757 -[NSApplication sendEvent:] + 3011
    8   com.adobe.Photoshop      
    0x00000001012e25ce AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 16802186
    9   com.adobe.Photoshop      
    0x00000001012e1d81 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 16800061
    10  com.apple.AppKit         
    0x00007fff959321f2 -[NSApplication run] + 555
    11  com.adobe.Photoshop      
    0x00000001012e0644 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 16794112
    12  com.adobe.Photoshop      
    0x00000001012e10a1 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 16796765
    13  com.adobe.Photoshop      
    0x0000000100068286 0x100000000 + 426630
    14  com.adobe.Photoshop      
    0x0000000100237199 0x100000000 + 2322841
    15  com.adobe.Photoshop      
    0x0000000100237229 0x100000000 + 2322985
    16  com.adobe.Photoshop      
    0x0000000100002294 0x100000000 + 8852
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib   
    0x00007fff92ce17e6 kevent + 10
    1   libdispatch.dylib        
    0x00007fff8bb835be _dispatch_mgr_invoke + 923
    2   libdispatch.dylib        
    0x00007fff8bb8214e _dispatch_mgr_thread + 54
    Thread 2:
    0   libsystem_kernel.dylib   
    0x00007fff92ce1192 __workq_kernreturn + 10
    1   libsystem_c.dylib        
    0x00007fff954d5594 _pthread_wqthread + 758
    2   libsystem_c.dylib        
    0x00007fff954d6b85 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib   
    0x00007fff92ce1192 __workq_kernreturn + 10
    1   libsystem_c.dylib        
    0x00007fff954d5594 _pthread_wqthread + 758
    2   libsystem_c.dylib        
    0x00007fff954d6b85 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.adobe.amt.services   
    0x0000000108724247 C_AMTUISwitchSuppressUpdates + 16439
    3   com.adobe.amt.services   
    0x000000010871d39e C_EULA_SetState + 1742
    4   com.adobe.amt.services   
    0x00000001087242b2 C_AMTUISwitchSuppressUpdates + 16546
    5   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    6   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 5:
    0   libsystem_kernel.dylib   
    0x00007fff92cdf6ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff91df83be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x000000010ede9b9b ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 6:
    0   libsystem_kernel.dylib   
    0x00007fff92cdf6ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff91df83be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x000000010ede9b9b ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 7:
    0   libsystem_kernel.dylib   
    0x00007fff92cdf6ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff91df83be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x000000010ede9b9b ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 8:
    0   libsystem_kernel.dylib   
    0x00007fff92cdf6ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff91df83be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x000000010ede9b9b ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 9:
    0   libsystem_kernel.dylib   
    0x00007fff92cdf6ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff91df83be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x000000010ede9b9b ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 10:
    0   libsystem_kernel.dylib   
    0x00007fff92cdf6ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff91df83be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x000000010ede9b9b ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 11:
    0   libsystem_kernel.dylib   
    0x00007fff92cdf6ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff91df83be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x000000010ede9b9b ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 12:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff91e20bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91db328a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff91df7fd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598418d 0x10594a000 + 237965
    6   AdobeACE                 
    0x0000000105983b3a 0x10594a000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 13:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff91e20bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91db328a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff91df7fd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598418d 0x10594a000 + 237965
    6   AdobeACE                 
    0x0000000105983b3a 0x10594a000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 14:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff91e20bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91db328a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff91df7fd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598418d 0x10594a000 + 237965
    6   AdobeACE                 
    0x0000000105983b3a 0x10594a000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 15:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff91e20bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91db328a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff91df7fd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598418d 0x10594a000 + 237965
    6   AdobeACE                 
    0x0000000105983b3a 0x10594a000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 16:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff91e20bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91db328a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff91df7fd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598418d 0x10594a000 + 237965
    6   AdobeACE                 
    0x0000000105983b3a 0x10594a000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 17:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff91e20bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91db328a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff91df7fd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598418d 0x10594a000 + 237965
    6   AdobeACE                 
    0x0000000105983b3a 0x10594a000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 18:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff91e20bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff91db328a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff91df7fd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598418d 0x10594a000 + 237965
    6   AdobeACE                 
    0x0000000105983b3a 0x10594a000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff91df8e36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 19:
    0   libsystem_kernel.dylib   
    0x00007fff92ce1192 __workq_kernreturn + 10
    1   libsystem_c.dylib        
    0x00007fff954d5594 _pthread_wqthread + 758
    2   libsystem_c.dylib        
    0x00007fff954d6b85 start_wqthread + 13
    Thread 20:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0e42 __semwait_signal + 10
    1   libsystem_c.dylib        
    0x00007fff95489dea nanosleep + 164
    2   com.adobe.PSAutomate     
    0x0000000113781fdb ScObjects::Thread::sleep(unsigned int) + 59
    3   com.adobe.PSAutomate     
    0x0000000113763f13 ScObjects::BridgeTalkThread::run() + 163
    4   com.adobe.PSAutomate     
    0x00000001137820d6 ScObjects::Thread::go(void*) + 166
    5   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    6   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 21:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x0000000114587ced APXGetHostAPI + 2467693
    3   com.adobe.adobeswfl      
    0x000000011433fd09 APXGetHostAPI + 75657
    4   com.adobe.adobeswfl      
    0x0000000114587e01 APXGetHostAPI + 2467969
    5   com.adobe.adobeswfl      
    0x000000011458816a APXGetHostAPI + 2468842
    6   com.adobe.adobeswfl      
    0x0000000114588299 APXGetHostAPI + 2469145
    7   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 22:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x0000000114587ced APXGetHostAPI + 2467693
    3   com.adobe.adobeswfl      
    0x000000011433fd09 APXGetHostAPI + 75657
    4   com.adobe.adobeswfl      
    0x0000000114587e01 APXGetHostAPI + 2467969
    5   com.adobe.adobeswfl      
    0x000000011458816a APXGetHostAPI + 2468842
    6   com.adobe.adobeswfl      
    0x0000000114588299 APXGetHostAPI + 2469145
    7   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 23:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x0000000114587ced APXGetHostAPI + 2467693
    3   com.adobe.adobeswfl      
    0x000000011433fd09 APXGetHostAPI + 75657
    4   com.adobe.adobeswfl      
    0x0000000114587e01 APXGetHostAPI + 2467969
    5   com.adobe.adobeswfl      
    0x000000011458816a APXGetHostAPI + 2468842
    6   com.adobe.adobeswfl      
    0x0000000114588299 APXGetHostAPI + 2469145
    7   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 24:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d7274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x0000000114587ced APXGetHostAPI + 2467693
    3   com.adobe.adobeswfl      
    0x000000011433fd09 APXGetHostAPI + 75657
    4   com.adobe.adobeswfl      
    0x0000000114587e01 APXGetHostAPI + 2467969
    5   com.adobe.adobeswfl      
    0x000000011458816a APXGetHostAPI + 2468842
    6   com.adobe.adobeswfl      
    0x0000000114588299 APXGetHostAPI + 2469145
    7   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 25:
    0   libsystem_kernel.dylib   
    0x00007fff92cdf67a mach_msg_trap + 10
    1   libsystem_kernel.dylib   
    0x00007fff92cded71 mach_msg + 73
    2   com.apple.CoreFoundation 
    0x00007fff919cc6fc __CFRunLoopServiceMachPort + 188
    3   com.apple.CoreFoundation 
    0x00007fff919d4e64 __CFRunLoopRun + 1204
    4   com.apple.CoreFoundation 
    0x00007fff919d4676 CFRunLoopRunSpecific + 230
    5   com.apple.CoreMediaIO    
    0x00007fff8da78541 CMIO::DAL::RunLoop::OwnThread(void*) + 159
    6   com.apple.CoreMediaIO    
    0x00007fff8da6e6b2 CAPThread::Entry(CAPThread*) + 98
    7   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 26:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d72a6 _pthread_cond_wait + 890
    2   com.adobe.adobeswfl      
    0x0000000114587cb9 APXGetHostAPI + 2467641
    3   com.adobe.adobeswfl      
    0x00000001145a406c APXGetHostAPI + 2583276
    4   com.adobe.adobeswfl      
    0x0000000114587e01 APXGetHostAPI + 2467969
    5   com.adobe.adobeswfl      
    0x000000011458816a APXGetHostAPI + 2468842
    6   com.adobe.adobeswfl      
    0x0000000114588299 APXGetHostAPI + 2469145
    7   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 27:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff954d72a6 _pthread_cond_wait + 890
    2   com.adobe.adobeswfl      
    0x0000000114587cb9 APXGetHostAPI + 2467641
    3   com.adobe.adobeswfl      
    0x00000001147224ed APXGetHostAPI + 4149101
    4   com.adobe.adobeswfl      
    0x0000000114587e01 APXGetHostAPI + 2467969
    5   com.adobe.adobeswfl      
    0x000000011458816a APXGetHostAPI + 2468842
    6   com.adobe.adobeswfl      
    0x0000000114588299 APXGetHostAPI + 2469145
    7   libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 28:
    0   libsystem_kernel.dylib   
    0x00007fff92ce0d7a __recvfrom + 10
    1   ServiceManager-Launcher.dylib
    0x0000000116caf562 Invoke + 54020
    2   ServiceManager-Launcher.dylib
    0x0000000116cae6bf Invoke + 50273
    3   ServiceManager-Launcher.dylib
    0x0000000116cad706 Invoke + 46248
    4   ServiceManager-Launcher.dylib
    0x0000000116cad761 Invoke + 46339
    5   ServiceManager-Launcher.dylib
    0x0000000116cad7e2 Invoke + 46468
    6   ServiceManager-Launcher.dylib
    0x0000000116ca7eed Invoke + 23695
    7   ServiceManager-Launcher.dylib
    0x0000000116ca8086 Invoke + 24104
    8   ServiceManager-Launcher.dylib
    0x0000000116ca8b0f Invoke + 26801
    9   ServiceManager-Launcher.dylib
    0x0000000116ca8bfd Invoke + 27039
    10  ServiceManager-Launcher.dylib
    0x0000000116cabeff Invoke + 40097
    11  ServiceManager-Launcher.dylib
    0x0000000116cac1a5 Invoke + 40775
    12  ServiceManager-Launcher.dylib
    0x0000000116cac764 Invoke + 42246
    13  ServiceManager-Launcher.dylib
    0x0000000116cac951 Invoke + 42739
    14  ServiceManager-Launcher.dylib
    0x0000000116c9e67f Login + 1773
    15  ServiceManager-Launcher.dylib
    0x0000000116c9fd01 Login + 7535
    16  ServiceManager-Launcher.dylib
    0x0000000116cace88 Invoke + 44074
    17  ServiceManager-Launcher.dylib
    0x0000000116caf2a1 Invoke + 53315
    18  libsystem_c.dylib        
    0x00007fff954d38bf _pthread_start + 335
    19  libsystem_c.dylib        
    0x00007fff954d6b75 thread_start + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x00007fff92cdf67a  rdx: 0x0000000000000024
      rdi: 0x0000000000000000  rsi: 0x0000000000000003  rbp: 0x00007fff5fbff080  rsp: 0x00007fff5fbff070
       r8: 0x0000000000003103   r9: 0x0000000000000000  r10: 0x000000000000002c  r11: 0x0000000000000206
      r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x00007fff5fbff120
      rip: 0x00007fff919abc12  rfl: 0x0000000000010246  cr2: 0x0000000000000000
    Logical CPU: 0
    Binary Images:
    0x100000000 -   
    0x1026fbfff +com.adobe.Photoshop (12.1 - 12.1x20110328.r.145] [12.1) <568CD2C0-8B76-63A9-A42A-B3D943DD7362> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/MacOS/Adobe Photoshop CS5.1
    0x1032f4000 -   
    0x10336cfef +com.adobe.adobe_caps (adobe_caps 4.0.42.0 - 4.0.42.0) <7AAC7875-787B-A4BA-F319-2B4425511ED4> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/adobe_caps.framework/Versions/A/adobe_caps
    0x103378000 -   
    0x10337ffff  org.twain.dsm (1.9.4 - 1.9.4) <466A5B1D-F91A-30D7-93E0-B29B9B8F8F0E> /System/Library/Frameworks/TWAIN.framework/Versions/A/TWAIN
    0x103387000 -   
    0x103398ff8 +com.adobe.ahclientframework (1.6.0.20 - 1.6.0.20) <AD464E16-20D1-A4FC-878D-CF44322F72BC> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/ahclient.framework/Versions/A/ahclient
    0x1033a5000 -   
    0x1033abfff  com.apple.agl (3.1.4 - AGL-3.1.4) <58F15993-D441-3146-9F3F-E03A061A54E3> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
    0x1033b2000 -   
    0x1035b8fef +com.adobe.linguistic.LinguisticManager (5.0.0 - 11696) <499B4E7A-08BB-80FC-C220-D57D45CA424F> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeLinguistic.framework/Versions/3/AdobeLinguistic
    0x10364b000 -   
    0x1037f9fef +com.adobe.owl (AdobeOwl version 3.0.93 - 3.0.93) <74CF40F6-B216-DB73-5C8F-FC5533220CD9> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeOwl.framework/Versions/A/AdobeOwl
    0x10389b000 -   
    0x103ccbfef +AdobeMPS (??? - ???) <E541F5F1-21BB-D779-1475-B1553950E1B9> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeMPS.framework/Versions/A/AdobeMPS
    0x103e25000 -   
    0x104150ff7 +AdobeAGM (??? - ???) <8FE8A26F-F2C4-128B-ECF9-197279A31D70> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeAGM.framework/Versions/A/AdobeAGM
    0x10421d000 -   
    0x104545fe7 +AdobeCoolType (??? - ???) <D55BD5E5-B430-7701-A11E-0FF989536E57> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeCoolType.framework/Versions/A/AdobeCoolType
    0x1045dd000 -   
    0x1045feff7 +AdobeBIBUtils (??? - ???) <B37FD8D7-142F-EE1E-4C63-93C1C59B4318> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeBIBUtils.framework/Versions/A/AdobeBIBUtils
    0x10460b000 -   
    0x104636ff6 +AdobeAXE8SharedExpat (??? - ???) <C59B0A11-E89B-F50C-916C-D09F40C1BAA3> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeAXE8SharedExpat.framework/Versions/A/AdobeAXE8SharedEx pat
    0x104648000 -   
    0x10478cfef +WRServices (??? - ???) <76354373-F0BD-0BAF-6FC0-B96DBB371755> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/WRServices.framework/Versions/A/WRServices
    0x1047d3000 -   
    0x104838fff +aif_core (??? - ???) <0E7876E5-6465-676D-06DE-D8F44E3663EB> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/aif_core.framework/Versions/A/aif_core
    0x104854000 -   
    0x10486afff +data_flow (??? - ???) <A0C1FB2F-4EB4-7F3E-98E7-82BE18D631B6> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/data_flow.framework/Versions/A/data_flow
    0x104882000 -   
    0x104918fff +image_flow (??? - ???) <70C5AE43-18D4-7E41-0BB1-FE9EF1792E6C> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/image_flow.framework/Versions/A/image_flow
    0x10498f000 -   
    0x1049adfff +image_runtime (??? - ???) <140A4ED7-DAAA-2E4F-D211-7E2A491CFD5C> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/image_runtime.framework/Versions/A/image_runtime
    0x1049ca000 -   
    0x104bf9fff +aif_ogl (??? - ???) <4E5A4532-CED3-1A19-C852-1C5560F4017A> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/aif_ogl.framework/Versions/A/aif_ogl
    0x104cd8000 -   
    0x104d6bfff +AdobeOwlCanvas (??? - ???) <EC667F6D-0BB6-03EA-41E8-624425B2BF4B> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeOwlCanvas.framework/Versions/A/AdobeOwlCanvas
    0x104d8b000 -   
    0x1050d4fef +com.adobe.dvaui.framework (dvaui version 5.0.0 - 5.0.0.0) <023E0760-0223-AB5D-758C-2C5A052F6AF4> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/dvaui.framework/Versions/A/dvaui
    0x105264000 -   
    0x1053e6fe7 +com.adobe.dvacore.framework (dvacore version 5.0.0 - 5.0.0.0) <42077295-9026-D519-C057-35E07029D97B> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/dvacore.framework/Versions/A/dvacore
    0x105488000 -   
    0x105800fff +com.adobe.dvaadameve.framework (dvaadameve version 5.0.0 - 5.0.0.0) <0E95A0DF-038A-CFF2-EC7B-BDB905CDF5C5> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/dvaadameve.framework/Versions/A/dvaadameve
    0x10594a000 -   
    0x105a5ffff +AdobeACE (??? - ???) <C544307E-C1E6-FCA8-4D32-2EC0D5820BBD> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeACE.framework/Versions/A/AdobeACE
    0x105a84000 -   
    0x105aa0fff +AdobeBIB (??? - ???) <C0E29690-D406-8834-CA1D-0A4252A0946E> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeBIB.framework/Versions/A/AdobeBIB
    0x105aaa000 -   
    0x105b1cff7 +com.adobe.amtlib (amtlib 4.0.0.21 - 4.0.0.21) <E604CBB8-A3F0-69D1-510B-3D8156D37D29> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/amtlib.framework/Versions/A/amtlib
    0x105b33000 -   
    0x105c06ffb +AdobeJP2K (??? - ???) <BF2DBEA4-E71A-7112-53CA-8E7D73B1EFE5> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeJP2K.framework/Versions/A/AdobeJP2K
    0x105c26000 -   
    0x105c2aff8 +com.adobe.ape.shim (adbeape version 3.1.74.12761 - 3.1.74.12761) <09559AEB-61DE-8DE8-4315-BFA0A7D6394B> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/adbeape.framework/Versions/A/adbeape
    0x105c2f000 -   
    0x105ca6fff +com.adobe.FileInfo.framework (Adobe XMP FileInfo 5.0 -i 33 [debug] - 64.140949) <ED51DA76-662A-8156-3D42-2146684A60B6> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/FileInfo.framework/Versions/A/FileInfo
    0x105cc7000 -   
    0x105d25ffd +com.adobe.AdobeXMPCore (Adobe XMP Core 5.0 -c 61 - 64.140949) <D02D367B-FF1E-AD63-993C-5CD907CCFCCE> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeXMP.framework/Versions/A/AdobeXMP
    0x105d33000 -   
    0x1061cefff +com.nvidia.cg (2.2.0006 - ???) /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/Cg.framework/Cg
    0x106754000 -   
    0x1067aafeb +com.adobe.headlights.LogSessionFramework (??? - 2.0.1.011) <03B80698-2C3B-A232-F15F-8F08F8963A19> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/LogSession.framework/Versions/A/LogSession
    0x1067ef000 -   
    0x106814ffe +adobepdfsettings (??? - ???) <56E7F033-6032-2EC2-250E-43F1EBD123B1> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/adobepdfsettings.framework/Versions/A/adobepdfsettings
    0x10684e000 -   
    0x106853ffd +com.adobe.AdobeCrashReporter (3.0 - 5.5.20101001) <5625AF72-323C-27C5-0094-213D09698D11> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCrashReporter
    0x106857000 -   
    0x1069f4fff +com.adobe.PlugPlug (2.5.0.232 - 2.5.0.232) <09F6FBA4-E768-BDFB-35AE-C7EB8EBA2D1A> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/PlugPlug.framework/Versions/A/PlugPlug
    0x106aa2000 -   
    0x106b85fff  libcrypto.0.9.7.dylib (0.9.7 - compatibility 0.9.7) <358B5B40-43B2-3F92-9FD3-DAA68806E1FF> /usr/lib/libcrypto.0.9.7.dylib
    0x106bdb000 -   
    0x106bf4feb +libtbb.dylib (??? - ???) /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/libtbb.dylib
    0x106c05000 -   
    0x106c0bfeb +libtbbmalloc.dylib (??? - ???) /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/libtbbmalloc.dylib
    0x106c12000 -   
    0x106c12fff  libmx.A.dylib (2026.0.0 - compatibility 1.0.0) <C23BF0A1-7E6D-35EF-85FE-651EE2C13D53> /usr/lib/libmx.A.dylib
    0x106c15000 -   
    0x106c1dff3 +com.adobe.boost_threads.framework (boost_threads version 5.0.0 - 5.0.0.0) <6858DF5A-F020-22A7-B945-14EC277724D4> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/boost_threads.framework/Versions/A/boost_threads
    0x106fc9000 -   
    0x106fcbfff  com.apple.textencoding.unicode (2.4 - 2.4) <FD4695F4-6110-36C6-AC06-86453E30FF6E> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
    0x1084ec000 -   
    0x1084fbff7  libSimplifiedChineseConverter.dylib (54.0.0 - compatibility 1.0.0) <D30A4333-0953-394D-BB26-739937ED0BD8> /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
    0x108700000 -   
    0x108774ff3 +com.adobe.amt.services (AMTServices 4.0.0.21 [BuildVersion: 4.0; BuildDate: Mon Jan 24 2011 21:49:00] - 4.0.0.21) <1B6C37A0-570C-14D0-52A3-87C835F530BB> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/amtservices.framework/Versions/a/amtservices
    0x108791000 -   
    0x1087acfff  libJapaneseConverter.dylib (54.0.0 - compatibility 1.0.0) <59FCE9C0-27E6-34CE-89E5-3A83B843B36C> /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
    0x1087b1000 -   
    0x1087d2fff  libKoreanConverter.dylib (54.0.0 - compatibility 1.0.0) <25FF31F5-9D1E-35EB-8085-F0AC25C38DAC> /System/Library/CoreServices/Encodings/libKoreanConverter.dylib
    0x1087d6000 -   
    0x1087e8ff7  libTraditionalChineseConverter.dylib (54.0.0 - compatibility 1.0.0) <66A3625A-6918-3C14-8DF3-2F4924C389EA> /System/Library/CoreServices/Encodings/libTraditionalChineseConverter.dylib
    0x1087ec000 -   
    0x1087edff7  libCyrillicConverter.dylib (54.0.0 - compatibility 1.0.0) <C8D0607A-A668-36EE-AF03-866BD04B5611> /System/Library/CoreServices/Encodings/libCyrillicConverter.dylib
    0x1087f1000 -   
    0x1087f9fff +com.adobe.asneu.framework (asneu version 1.7.0.1 - 1.7.0.1) <3D59CB21-F5C7-4232-AB00-DFEB04206024> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/asneu.framework/Versions/a/asneu
    0x10ba3b000 -   
    0x10ba42fff +Enable Async IO (??? - ???) <9AE049A5-F53E-657B-D0AE-01C42D817A19> /Applications/Adobe Photoshop CS5.1/*/Enable Async IO.plugin/Contents/MacOS/Enable Async IO
    0x10bff0000 -   
    0x10bff8ffe +ScriptingListener (12.1 - 12.1) <CA77642E-943B-02F2-140E-DD95022E8C22> /Applications/Adobe Photoshop CS5.1/*/ScriptingListener.plugin/Contents/MacOS/ScriptingListener
    0x10d52d000 -   
    0x10d536fff +FastCore (??? - ???) <1565E455-4A86-A3BD-113F-CD828F2C5150> /Applications/Adobe Photoshop CS5.1/*/FastCore.plugin/Contents/MacOS/FastCore
    0x10ecc9000 -   
    0x10ed2cff3 +MMXCore (??? - ???) <2DB6FA8E-4373-9823-C4F5-A9F5F8F80717> /Applications/Adobe Photoshop CS5.1/*/MMXCore.plugin/Contents/MacOS/MMXCore
    0x10edb4000 -   
    0x10ee1fff0 +MultiProcessor Support (??? - ???) <4FEA98F6-A072-F0BF-0E30-BEFDBD623611> /Applications/Adobe Photoshop CS5.1/*/MultiProcessor Support.plugin/Contents/MacOS/MultiProcessor Support
    0x1106f4000 -   
    0x1106f8fff  com.apple.audio.AudioIPCPlugIn (1.2.2 - 1.2.2) <D4D40031-05D5-3D8B-A9A5-490D9483E188> /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/C ontents/MacOS/AudioIPCPlugIn
    0x1108f5000 -   
    0x1108fbfff  com.apple.audio.AppleHDAHALPlugIn (2.1.7 - 2.1.7f9) <CA4B5CB4-6F02-396A-B7CA-C9DE876544CD> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Conten ts/MacOS/AppleHDAHALPlugIn
    0x111b1b000 -   
    0x111b49ff7  GLRendererFloat (??? - ???) <0C213C61-C08C-3B5D-85A4-EB4660AF55BF> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFl oat
    0x111bc8000 -   
    0x111be8ff7 +com.adobe.ape (adbeapecore version 3.1.74.12761 - 3.1.74.12761) <48D74CFC-E9C7-143A-F971-2C7F0ACF7602> /Library/Application Support/Adobe/*/adbeapecore.framework/adbeapecore
    0x113369000 -   
    0x113385ff7 +MeasurementCore (??? - ???) <1BE124EE-A88B-8F47-B9E1-1E276FA54327> /Applications/Adobe Photoshop CS5.1/*/MeasurementCore.plugin/Contents/MacOS/MeasurementCore
    0x113600000 -   
    0x11385cfef +com.adobe.PSAutomate (12.1 - 12.1) <951D5D57-776F-5A95-24A0-D70623A9902F> /Applications/Adobe Photoshop CS5.1/*/ScriptingSupport.plugin/Contents/MacOS/ScriptingSupport
    0x113a7a000 -   
    0x113b1effb +com.adobe.AdobeExtendScript (ExtendScript 4.1.28 - 4.1.28.12764) <C53B3FBF-7530-1DAF-66E7-C2E50F25A6DE> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeExtendScript.framework/Versions/A/AdobeExtendScript
    0x113b83000 -   
    0x113c23fef +com.adobe.AdobeScCore (ScCore 4.1.28 - 4.1.28.12764) <2A61AEB9-8E9D-8136-9B6F-B4394D6AB7AE> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/AdobeScCore.framework/Versions/A/AdobeScCore
    0x114300000 -   
    0x11516aff3 +com.adobe.adobeswfl (??? - 2.0.0.11360) <39C5D47B-EB0F-9FE5-ABA7-7D925DB9C036> /Library/Application Support/Adobe/*/adbeapecore.framework/Resources/AdobeSWFL.bundle/Contents/MacOS/AdobeSWFL
    0x116c50000 -   
    0x116c8dfeb +com.adobe.AAM.AdobeUpdaterNotificationFramework (UpdaterNotifications 2.0.0.15 - 2.0.0.15) <188E3565-26D6-6A54-01E2-1BBBF73AE24E> /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/Frameworks/updaternotifications.framework/Versions/a/UpdaterNotificati ons
    0x116c9c000 -   
    0x116cc4fef +ServiceManager-Launcher.dylib (236.0.0 - compatibility 2.5.0) <DBEE8529-7074-635B-2CAD-DF7BA597D909> /Library/Application Support/Adobe/*/ServiceManager-Launcher.dylib
    0x117900000 -   
    0x117a99fff  GLEngine (??? - ???) <8BA26192-A4D7-362D-8B57-5FCF4B706A25> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
    0x117acd000 -   
    0x117bc6fff  libGLProgrammability.dylib (??? - ???) <B7710703-8652-36B8-83DD-4F216FAF0730> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dyl ib
    0x117bec000 -   
    0x117ff7ff7  com.apple.driver.AppleIntelHD3000GraphicsGLDriver (7.18.11 - 7.1.8) <B3612412-7530-3FB9-AF32-C9433755CC76> /System/Library/Extensions/AppleIntelHD3000GraphicsGLDriver.bundle/Contents/MacOS/AppleIn telHD3000GraphicsGLDriver
    0x7fff6171f000 -
    0x7fff61753baf  dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
    0x7fff8b0a8000 -
    0x7fff8b0b2ff7  liblaunch.dylib (392.35.0 - compatibility 1.0.0) <8F8BB206-CECA-33A5-A105-4A01C3ED5D23> /usr/lib/system/liblaunch.dylib
    0x7fff8b0b3000 -
    0x7fff8b0dbff7  com.apple.CoreVideo (1.7 - 70.1) <98F917B2-FB53-3EA3-B548-7E97B38309A7> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff8baef000 -
    0x7fff8baf4fff  com.apple.OpenDirectory (10.7 - 146) <A674AB55-6E3D-39AE-9F9B-9865D0193020> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff8baf5000 -
    0x7fff8bb2afff  libTrueTypeScaler.dylib (??? - ???) <5AB9A51C-AD6B-3E02-B9A6-7B1447CF6134> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framew ork/Versions/A/Resources/libTrueTypeScaler.dylib
    0x7fff8bb2b000 -
    0x7fff8bb7fff7  com.apple.ImageCaptureCore (3.0.2 - 3.0.2) <68147E63-C211-361E-8B24-B5E0675B4297> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCore
    0x7fff8bb80000 -
    0x7fff8bb8efff  libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib
    0x7fff8bb8f000 -
    0x7fff8bb95fff  IOSurface (??? - ???) <03F95CAC-569C-3573-B3D7-2D211B8BDC56> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff8bc2f000 -
    0x7fff8bc4cff7  com.apple.openscripting (1.3.3 - ???) <4FACC89E-FDAA-3CA5-B5CD-1F4EEAEDF7CF> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework /Versions/A/OpenScripting
    0x7fff8bc4d000 -
    0x7fff8bce7ff7  com.apple.SearchKit (1.4.0 - 1.4.0) <4E70C394-773E-3A4B-A93C-59A88ABA9509> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framewo rk/Versions/A/SearchKit
    0x7fff8bf7e000 -
    0x7fff8bf7efff  com.apple.audio.units.AudioUnit (1.7.2 - 1.7.2) <04C10813-CCE5-3333-8C72-E8E35E417B3B> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff8bf7f000 -
    0x7fff8bf95ff7  com.apple.ImageCapture (7.0 - 7.0) <F15FC6FB-9E88-3BE9-BABE-0454D3A502A0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/ Versions/A/ImageCapture
    0x7fff8bf96000 -
    0x7fff8bfd5ff7  libGLImage.dylib (??? - ???) <348729DC-BC44-3744-B249-9DFA6498344A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff8bfd6000 -
    0x7fff8bfd6fff  com.apple.ApplicationServices (41 - 41) <89B6AD5B-5C75-3E83-8C2B-AA7F4C55E400> /System/Library/Frameworks/App

    Well, it's crashing in Apple code while trying to parse information returned from the OS.
    Looks like it's in response to an activation request, and we're trying to get a list of the active windows - but the OS can't parse the values it just returned without error. Nice.
    All I can do is try to add some safety around those calls in the next version of Photoshop.
    If we can get a reproduceable case, then we can write up a bug for Apple.

  • Cron tab not working --- exp not found message

    Hai All
    My database is Oracle 9i in AIX
    We have a export backup. It works fine by manual execution but it not works in crontab ..An error displayed in mail...Details below
    Script
    ====
    export ORACLE_SID=HIL
    exp system/2007 file=/arch/export/hilexpbacktest.dmp log=/arch/export/hilex
    pback.log full=Y
    Crontab -Sheduling as oracle user
    ==========================
    32 11 * * * /oracle/oracle9i/script/dailybackup
    Error in mail
    =========
    From daemon Tue Apr 10 11:33:00 2007
    Received: (from daemon@localhost)
    by HIL1 (AIX5.3/8.13.4/8.11.0) id l3A6X0Nb729150
    for oracle; Tue, 10 Apr 2007 11:33:00 +0500
    Date: Tue, 10 Apr 2007 11:33:00 +0500
    From: daemon
    Message-Id: <200704100633.l3A6X0Nb729150@HIL1>
    To: oracle
    Subject: Output from cron job /oracle/oracle9i/script/dailybackup, oracle@HIL1,
    exit status 127
    Cron Environment:
    SHELL =
    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/u
    sr/java14/bin
    CRONDIR=/var/spool/cron/crontabs
    ATDIR=/var/spool/cron/atjobs
    LOGNAME=oracle
    HOME=/oracle/oracle9i
    Your "cron" job executed on HIL1 on Tue Apr 10 11:32:00 IST 2007
    /oracle/oracle9i/script/dailybackup
    produced the following output:
    /oracle/oracle9i/script/dailybackup[2]: exp: not found.
    /oracle/oracle9i/script/dailybackup[5]: exp: not found.
    =========
    Any Enviornment variable missing? Where this variable set?
    please give a solution...
    Please help..
    Shiju...

    I guess the path of exp is unable to find by unix. Also in path variable you did not set the bin folder of oracle.
    Suppose oracle is in file system /app/oracle/ora92
    try to use absolute path like below, or set the PATH variable.
    /app/oracle/ora92/bin/exp system/2007 file=/arch/export/hilexpbacktest.dmp log=/arch/export/hilex
    pback.log full=Y

  • JVM Crash on Linux Cron Restart.

    Our application is deployed in Jboss AS with MySql db under RedHat Linux.
    We scheduled a cron to restart server on everyday morning. During this time the server is not starting properly, this was not happening regularly. And the log says:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGBUS (0x7) at pc=0x00002aaaac095104, pid=30854, tid=1283885376
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_07-b03 mixed mode)
    # Problematic frame:
    # C [libzip.so+0x12104]
    # An error report file with more information is saved as hs_err_pid30854.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    /opt/jboss/bin/run.sh: line 209: 30854 Aborted "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS"
    -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"
    Now this is happening for all applications. I understand this is a JVM crash, but how to find the bug?
    Thanks

    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x200000000018d381, pid=8969, tid=2305843009214304944
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.4.2_12-b03 mixed mode)
    # Problematic frame:
    # C [libc.so.6.1+0xdd381]
    # An error report file with more information is saved as hs_err_pid8969.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Abort (core dumped)

Maybe you are looking for