Cron job "best way"

Hello,
Which is the best way to create a cron job for a sql script?
Thank you!

1) each time you change your cron settings, add a job, delete, etc. save the latest state into a text file, dated. this way you have a log of changes. Example:
crontab -l > cron.mmddyy
2) make sure you have standard include files that contain all the environment (ORACLE_HOME, ORACLE_SID) and user names+passwords. These should be kept separate from the scripts, so that:
- you can include them in all scripts
- apply strict security access
the script can apply the env files to get the info. same as you apply the "oraenv" command in your shell prompt.
3) make sure each cron job leaves a detailed log, including errors. Examine the logs on a frequent basis. The shell script should try to catch errods and email them to the admin whenever possible. Example:
0 0 * * * /folder/script.sh /folder2/script.env > /folder3/script.log 2>&1

Similar Messages

  • What is the best way to export a .csv/.txt file to a MS Windows shared folder via a scheduled job?

    What is the best way to export a .csv/.txt file to a MS Windows shared folder, when the export process is a scheduled job?

    You can't directly, as scheduled jobs can only export to server-side data stores, which can only write to the landing area. You'll need to use an external script (e.g. batch file) to move the file from the landingarea after export. You can use an external task in the scheduled job to invoke the script.
    regards,
    Nick

  • Best way to set up 2 color job in Framemaker 10

    What is the best way to set up a 2 color job in Framemaker 10 so that it converts to a 2 color job in the PDF? We have black with a blue PMS 280U book. However, if I select PMS 289U as my 2nd color in FM it outputs to PDF as the various CMYK percentages. How do I get the PDF to be black plus one color? Thanks for the help.

    You have to be patched to the 10.0.2 version of FM and you must use the CMYK option with SaveAsPDF. If thee colour is defined as Spot in the FM file, it should remain as a spot colour in th PDF. However, that being said, the CMYK route is still a bit wonky (even in FM12) and you may get odd results in your PDF.
    Alternatives are to make the fix in Acrobat with the Print Production tools (or even better to use a third-party tool like Enfocus Pro) or to use GrafikHuset's (now freebie) PubliPDF to convert FM's RGB postscript output to CMYK+Spot PDFs. Download at: http://design.grafikhuset.dk/index.php/kontakt/downloads/grafikhuset-publi-pdf and more details available at: http://www.grafikhuset.net/PubliPDF/

  • I downloaded a job application with Adobe.  What is your suggestion on editing it?  What is the best way on my iMac?

    I downloaded a job application with Adobe.  What is your suggestion on editing this?  What is the best way or best program?  Thanks!

    Simply, export the data from this esy share system to standard formats like jpeg, making sure to preserve all metadata on the way. How to do that? YOu'll need to post on a Kodak forum I'm afraid.
    Then copy the files to the Mac and import them.
    Regards
    TD

  • Best Way to Setup Document for Colored Paper Job

    Hi, we're running a business card job that will print on a red-colored paper (well, white & red duplexed for a white front & red back).
    Curious to know the best way to set this up for both soft-proofing here, and to send the most appropriate files to the printer. We'll separate out the backs of the cards that print on red into their own document (since the fronts will run on white).
    On these backs, there will be a background image that is a colored grayscale image with the foreground being a darker PMS red than the paper color (for a bit of a tone-on-tone effect). And the type will be engraved with opaque white.
    - Should I change the 'Paper' color to a CMYK simulation of the paper color?
    - Or is it better to setup a 'background layer' set to not print and filled with the red paper color?
    - How exactly should I setup the opaque white for the type? I think if I left Paper as white, applying the Paper or default white swatch would not set the type to print using a spot color, it would just knock it out, correct?
    THANKS! Don't do this too often.

    Ultimately for print production you will need the opaque white as a spot color, so create a spot swatch 0C, 0M, 0Y, 0K. As for the background image that you are printing on red stock, I would create a layer for the red stock, set the image on another layer that has a multiply effect, and this could be used for the proof. The print file, you would not need the layer for the red stock, and you wouldn't need the image to multiply either.
    Why not just print a solid red with reverse type, instead of an opaque white on colored stock?

  • 2 jobs, 2 calendars, best way to sync

    Hi -- Just got my E71 and am trying to work out the best way to do calendar management. 
    Based on my work situation, I need to manage two calendars.  One is hosted in Microsoft Exchange (consulting client), and the other is (currently) hosted in Outlook on my PC (personal, second job). 
    My basic goal is to ensure that the Exchange instance doesn't get copies of the appointments in my personal calendar.  I'd prefer to be able to manage the personal calendar in Outlook, but am open to other options.
    Anyone had experience setting up a similar configuration?  Thanks in advance for your help.
    Steve

    If you really want a no fuss solution I'll give you one that I've been using not for nearly a year.  There are additional benifit's at least check it out at Synology .com
    1.  Purachase a Synology Disk Station (DS) I recommend for home users the DS112 ($199 + $100 for 2TB HDD) or DS112J ($149 + $100 fo 2TB HDD).
    The DS has a app called Cloud Station (CS) that works just like DropBox with one exception you have 1, 2 or 3TB's of storage (depending on the space you choose) and the SYNC is much more secure since it's on your own home network.  You can also set up CS to sync over the Internet which is more secure than DropBox IMO.  You don't have to be a network expert by any means to set the DS up.....very simple instructions (do some reading and reasearching while you wait on your order).  If you do need help Synology is very responsive to phone calls and emails.  And the best thing about Synology they are very MAC friendly.  And if you use Time Machine to do regular backup what's synced in CS will be backed up, because Cloud Station is just like another folder residing in your Home folder.
    There are also YouTube videos on how to set up DS and CS.  If you do decide to get one I'd be glad to help you set it up!!!!!!!!!
    Cheers!
    BTW, I used Chronosync but didn't really like it,  seemed like I was always having to perform a manual sync and there were issues with some of the files syncing properly, that was my experience.  Others may love it I didn't.

  • Best Way to monitor standby, primary databases, including alert logs, etc.

    Hi, Guys, I finally cutover the new environment to the new linux redhat and everything working great so far (the primary/standby).
    Now I would like to setup monitoring scripts to monitor it automatically so I can let it run by itself.
    What is the best way?
    I talked to another dba friend outside of the company and he told me his shop not use any cron jobs to monitor, they use grid control.
    We have no grid control. I would like to see what is the best option here? should we setup grid control?
    And also for the meantime, I would appreciate any good ideas of any cronjob scripts.
    Thanks

    Hello;
    I came up with this which I run on the Primary daily, Since its SQL you can add any extras you need.
    SPOOL OFF
    CLEAR SCREEN
    SPOOL /tmp/quickaudit.lst
    PROMPT
    PROMPT -----------------------------------------------------------------------|
    PROMPT
    SET TERMOUT ON
    SET VERIFY OFF
    SET FEEDBACK ON
    PROMPT
    PROMPT Checking database name and archive mode
    PROMPT
    column NAME format A9
    column LOG_MODE format A12
    SELECT NAME,CREATED, LOG_MODE FROM V$DATABASE;
    PROMPT
    PROMPT -----------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking Tablespace name and status
    PROMPT
    column TABLESPACE_NAME format a30
    column STATUS format a10
    set pagesize 400
    SELECT TABLESPACE_NAME, STATUS FROM DBA_TABLESPACES;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking free space in tablespaces
    PROMPT
    column tablespace_name format a30
    SELECT tablespace_name ,sum(bytes)/1024/1024 "MB Free" FROM dba_free_space WHERE
    tablespace_name <>'TEMP' GROUP BY tablespace_name;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking freespace by tablespace
    PROMPT
    column dummy noprint
    column  pct_used format 999.9       heading "%|Used"
    column  name    format a16      heading "Tablespace Name"
    column  bytes   format 9,999,999,999,999    heading "Total Bytes"
    column  used    format 99,999,999,999   heading "Used"
    column  free    format 999,999,999,999  heading "Free"
    break   on report
    compute sum of bytes on report
    compute sum of free on report
    compute sum of used on report
    set linesize 132
    set termout off
    select a.tablespace_name                                              name,
           b.tablespace_name                                              dummy,
           sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )      bytes,
           sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id ) -
           sum(a.bytes)/count( distinct b.file_id )              used,
           sum(a.bytes)/count( distinct b.file_id )                       free,
           100 * ( (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) -
                   (sum(a.bytes)/count( distinct b.file_id ) )) /
           (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) pct_used
    from sys.dba_free_space a, sys.dba_data_files b
    where a.tablespace_name = b.tablespace_name
    group by a.tablespace_name, b.tablespace_name;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking Size and usage in GB of Flash Recovery Area
    PROMPT
    SELECT
      ROUND((A.SPACE_LIMIT / 1024 / 1024 / 1024), 2) AS FLASH_IN_GB,
      ROUND((A.SPACE_USED / 1024 / 1024 / 1024), 2) AS FLASH_USED_IN_GB,
      ROUND((A.SPACE_RECLAIMABLE / 1024 / 1024 / 1024), 2) AS FLASH_RECLAIMABLE_GB,
      SUM(B.PERCENT_SPACE_USED)  AS PERCENT_OF_SPACE_USED
    FROM
      V$RECOVERY_FILE_DEST A,
      V$FLASH_RECOVERY_AREA_USAGE B
    GROUP BY
      SPACE_LIMIT,
      SPACE_USED ,
      SPACE_RECLAIMABLE ;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking free space In Flash Recovery Area
    PROMPT
    column FILE_TYPE format a20
    select * from v$flash_recovery_area_usage;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking last sequence in v$archived_log
    PROMPT
    clear screen
    set linesize 100
    column STANDBY format a20
    column applied format a10
    --select max(sequence#), applied from v$archived_log where applied = 'YES' group by applied;
    SELECT  name as STANDBY, SEQUENCE#, applied, completion_time from v$archived_log WHERE  DEST_ID = 2 AND NEXT_TIME > SYSDATE -1;
    prompt
    prompt----------------Last log on Primary--------------------------------------|
    prompt
    select max(sequence#) from v$archived_log where NEXT_TIME > sysdate -1;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking switchover status
    PROMPT
    select switchover_status from v$database;I run it from a shell script and email myself quickaudit.lst
    Alert logs are great source of information when you have an issue or just want to check something.
    Best Regards
    mseberg

  • Need advice on running timer based cron jobs

    Hi,
    We made a cool desktop product on Flex that runs on the Air environment. After having released it a while ago, we think about taking its performance to the next level by being able to mimic cron job like functionality based on timers.
    However, one of the setbacks for us while we tried to do something similar earlier was the Flash platform's single threaded architecture. So if we are running something resource consuming in the background, chances are that the UI might get stuck if a part of it is being rendered. That will make things looks ugly and we are trying to find ways to make it work.
    Can anyone recommend anything that would help?
    Thanks!
    Vivek

    > 1. What is the best fastest system AE can take advantage of? If we get 6 or 8 or 12 core Mac Pros (instead of the quad core) with more RAM, would AE be able to access that speed, and if so up to how many GB can it use, only up to 2GB per core or can it use more?
    Yes, After Effects will take advantage of multiple fast CPUs and all of the RAM that you can install.
    You also want to have a decent-sized SSD connected over a fast bus for the disk cache. The new Mac Pro does very well in that regard.
    2. Should we replace the graphics card with an Nvidia CUDA? Is the ray-tracing engine something we’ll need with Cinema 4D work?
    The After Effects ray-traced 3D renderer has nothing whatsoever to do with Cinema 4D.
    Do not make any buying decisions based on the  After Effects ray-traced 3D renderer unless you already know for certain that you have a need for it. Since you're asking, it seems that the answer is that you don't.
    See this page for information about hardware for Premiere Pro and After Effects: http://adobe.ly/pRYOuk

  • Cron Job to start SunOne WebServer

    Hello,
    I installed the SunOne Webserver in Linux AS 4 as OS level. I try to create a cron job to stop and start the WebSever every night. The stop is quite simple to create a cron job. However, the start script is a bit tricky since I will have to key in the Token (password) as I manual start the script. How do I create a cron job to start the Web Server like this?
    I used the Web server to do datatel's webadvisor. I just don't know how to configure the SunOne Web Server 6.1 (SP5) to the best interface with webadvisor. Does any one have this kind of experience please share with me?
    Your thought would be greatly appreciated!!!!

    mle wrote:
    Hello,
    I installed the SunOne Webserver in Linux AS 4 as OS level. I try to create a cron job to stop and start the WebSever every night. Why on earth would you want to do that? This is Linux, not Windows.
    My guess is that you have memory leaks that benefit from a bounce to set the clock back to zero on a daily basis.
    My advice would be to fix the leaks and don't bounce the server that way.
    If the leaks originate with the app server, get one that doesn't leak.
    Does any one have this kind of experience please share with me?Sounds like a very bad idea. I'd fix the root problem first.
    %

  • Best way to get switch/router interface stats remotely and periodically

    Team:
    I am not sure if this is really needed; however, I am looking at methods or solutions that I can get interfaces stats from my switches and routers. Looking for errors: CRC, Frame, Overruns, Collisions, etc; however, I am not sure the best way to do this on my devices.
    Currently looking into Expect; however, I do not see away that I can save the output of the ‘show interface’ command to a file, clear the counters, and upload the interface stats to a tftp site. The idea was to use a cron job and ‘grep’ to dig though the files once on my server, but again, I am not sure I can do this.
    I am looking for suggestions on how I can do this, or something similar, or even a better solution.
    Thanks
    JJ

    Hi John,
    Thanks for the insight. I am currently learning Python, which is slow going, but I am pushing through. This is production, and last Friday I did a router and switch count. It will be over 200 devices distributed globally. In addition, these resources/devices are linked to as many different circuit types. The business is small, and I cannot get the budget for Solarwinds, so I was trying to be creative. I looked into Python, but I am just learning, yet I have started with the Apress ‘Beginning Python’ by Hetland, so the skill set is not there YET.

  • [Solved] Setting Up A Cron Job

    I want to set up a cron job that will copy (update) my download folder that contains all my linux related stuff to the linux downloads folder contained in my windows downloads folder. I know how to set up crontab but vi(m) confuses me since it opens crontab as a temp file and I dont know what to call it when I try and save it. I tried using EDITOR=nano crontab -e but it still opens vim
    heres the line I want to input into crontab:
    0 3 * * * cp -Ru /home/bran/downloads/* "/media/mybook/Downloads/Linux Downloads/"
    Last edited by brando56894 (2009-05-05 23:12:05)

    I tried adding the job to /etc/cron.daily but that didnt seem to have any effect on anything, ive been learning vim on and off for awhile now but its alot to learn and its completely different than anything else. I know the basic stuff (save, quit, quit!, startinsert) but thats about it. I think the best feature I love about it is the syntax highlighting since i usually use nano and it doesnt seem to work even when i tried to enable it in the config file.
    brisbin33 wrote:
    hey, that was my bad.  i guess it's a preference that i incorrectly characterized as a best practice.  too much bash scripting makes me aware of when things don't _need_ to be double quoted... doesn't mean they _shouldn't_ be double quoted. 
    getting into that habit of the down slash in front of spaces might come in handy though b/c you would know to also put it in front of symbols like $ and ? which wouldn't behave well inside double quotes.  however, in your case, either way works just fine.
    i'll trade that bit of bum advice for some good advice though: look into rsync, it works very similar to cp except it won't spend all that time/energy copying files that are already there.  does my nightly backup (~205 GB) in less than 3 minutes.
    oh, and don't forget to add [solved] if you get this all working.
    haha its cool, i was actually thinking about using rsync originally but then i was looking up a guide for it and it seemed to complex to do something simple like I needed to do. my linux downloads folder is only about 400 or so mb and the u flag updates only changed files so it doesnt take that long anyway.

  • What is the best way to read and manipulate large data in excel files and show them in Sharepoint

    Hi ,
    I have a large excel file that has 700,000 records in it. The excel file has a few columns that change every day.
    What is the best way to read the data form the excel file in fastest and most efficient way.
    2 nd Problem,
    I have one excel file that has many rows each row contain some data that has certain keywords.
    What I want is  to segregate the data of rows into respective sheets(tabs ) in the workbook.
    for example in rows have following data 
    1. Alfa
    2beta
    3 gama
    4beta
    5gama
    6gama
    7alfa
    in excel
    I want there to be 3 tabs now with each of the key words alfa beta and gamma.

    Hi,
    I don't really see any better options for SharePoint. SharePoint use other production called 'Office Web App' to allow users to view/edit Microsoft Office documents (word, excel etc.). But the web version of excel doesn't support that much records as well
    as there's size limitations (probably the default max size is 10MB).
    Regarding second problem, I think you need some custom solutions (like a SharePoint timer job/webpart ) to read and present data.
    However, if you can reduce the excel file records to something near 16k (which is supported rows in web version of excel) then you can use SharePoint Excel service to refresh data automatically in the excel file in SharePoint from some external sources.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • What's the best way to setup a media server/central storage for all of my?

    I was wondering what the best way to achieve a central media server for all my iTunes content + iPhoto's, calendar syncing and contact sharing is? This is what I currently have:
    iMac 20" Aluminum + External HD Backup (kids)
    Macbook Black (wife)
    Macbook Pro 15" (me)
    Airport Extreme 802.11n (obvious)
    TimeCapsule 1TB (wifi backup for wife/me)
    I would like to replace my PC in my office with a brand new Mac Pro Nehalem 8-Core, 8GB Ram, and 4TB, and replace my PC laptop in my living room attached to my tv, with an Apple TV.
    I want to centralize all our Photos from vacations, etc. Music, videos, movies, that are currently split up over wife's macbook, kids imac and my macbook pro onto my soon to be purchased Mac Pro.
    I want to be able to stream everything from my living room via Apple TV for when guests come over, dinner parties, etc. (plus I love apple and it keeps things clean)
    I'm currently using MobileMe to sync all of our Calendars and Contacts with my main account, which is great, but MobileMe doesn't sync to family members accounts =
    What would I need to do to centralize all this onto my future Mac Pro so that everyone has access all the time when they are home and the key here is, modify/update/change from their machines and sync it back/update it on the Mac Pro.
    Also, I'm hoping Snow Leopard has some changes to iTunes to make this a little more possible, since we're right around the corner from this release. I don't really want to spend an additional $900+ on Snow Leopard Server to have to achieve these results, but if it makes it easier, and does the job, then I guess I might. This is all speculation though, since it's not out yet. I'd like to get this all sorted and setup within the next month.
    I was considering a Drobo, they say they can throw up iTunes Server but, I appreciate everyone for reading this, and taking the time to respond!
    Thanks!
    Message was edited

    I'm in the process of setting up a smaller (and cheaper) but somewhat similar setup to what you want to do, so maybe one example might help point you in the right direction. My needs consist of a centralized location for data storage, which will include iPhoto libraries (I keep two separate ones), iTunes (which I also want served to the home theater system), something other than my laptop to play internet videos and downloaded content on my TV, all with ideally the lowest cost and energy use possible.
    My solution was the new Mini with a FW800 external drive as the server/media hub and Airport gigabit as the network hub (it also handles the backup drive).
    FW800 is fast enough to saturate a gigabit ethernet link, so I don't consider that much of a bottleneck. The Mini then has iTunes running at all times with its centralized library on it; it is hooked to the home theater via HDMI-DVI video and optical audio, so it can play music and also handle videos when desired; Front Row with the Apple remote is close enough to an AppleTV that I think it handles that well, and it's more full-featured than an AppleTV. It can further be used to display photos/slideshows/whatever on the TV for guests or such, or to surf from the couch with a wireless mouse/keyboard. You can also toss in an EyeTV for $150 and use that as a DVR if you feel like it.
    When I want to edit photos or such on my desktop, the gigabit link is fast enough that I can run iPhoto without noticing any significant slowdown. Its also usable over wireless, though I have a dangling extra network cable to plug into a laptop for full gigabit speed if need be. iTunes, of course, shares its library, which can be played from any of the computers in the house if so desired (iPhoto can do that too if you just want to display).
    If I REALLY wanted top speed (though I've even done video editing in iMovie via ethernet without issue), I could use a third party synch app (I like Sync) to mirror any of the content from the mini server to a local drive; this works fine with anything but multi-way synching, such as address books being modified in different locations. I'd probably try to set up one of those Mobile Me clone systems or use a 3rd party app if I needed to do that.
    Again, maybe this isn't powerful enough or "synched" enough in terms of local storage for your taste, but the advantage is that a Mini uses a minute fraction of the power of a Mac Pro, so you're saving a lot on electricity if the computer will be powered up at all times as a server, and it's also a lot more full-featured as a home theater media hub than an AppleTV. And, heck, the thing is about as well equipped as my old top-of-the-line G5 tower for a 5th the cost and 1/15th the power and noise.

  • 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

  • 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

Maybe you are looking for

  • POS flat file to ISRetail upload .. please look

    Hi experts, the requirement Interface will retrieve the data from the LOGISOFT POS system.  POS system will output all essential information to generate invoices in the SAP Retail system. I need to get the flat file generated by Pos system into Is re

  • Using Show parameters service

    good morning, Dont know if this is the right thread for this question but here it goes: I was using Show Parameters Services 2 days ago to aquire a list of all current service names and it was returning info just fine. I then proceeded to add 1 more

  • Repeated password prompts with a Microsoft Exchange account

    I use an 32GB iPod touch running the latest iPhone software as a PDA and music player. To help me keep organised, I use my company Wi-Fi network to connect to our Microsoft Exchange server. I think we are running the 2003 version. From time to time,

  • Idvd quits missing one or more themes????

    when i launch idvd it will start loading last project saved or it may go to the open project window. either way when any project is selected or even a new one created it either searches endlessly for themes or quits out all together. if it does manag

  • Solid State Hybrid Drive upgrade?

    I need more storage on my internal drive (original 500 GB, 5400 RPM, HDD) and I would like to speed up R/W performance as well. Based on what I have researched, I am considering the Seagate Momentus XT 750 GB (7500 RPM) SSHD to upgrade my MBP from OW