Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 262283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:30:09+00:00 2026-05-11T22:30:09+00:00

We have a set of Mac machines (mostly PPC) that are used for running

  • 0

We have a set of Mac machines (mostly PPC) that are used for running Java applications for experiments. The applications consist of folders with a bunch of jar files, some documentation, and some shell scripts.

I’d like to be able to push out new version of our experiments to a directory on one Linux server, and then instruct the Macs to update their versions, or retrieve an entire new experiment if they don’t yet have it.

../deployment/
../deployment/experiment1/
../deployment/experiment2/

and so on

I’d like to come up with a way to automate the update process. The Macs are not always on, and they have their IP addresses assigned by DHCP, so the server (which has a domain name) can’t contact them directly. I imagine that I would need some sort of daemon running full-time on the Macs, pinging the server every minute or so, to find out whether some “experiments have been updated” announcement has been set.

Can anyone think of an efficient way to manage this? Solutions can involve either existing Mac applications, or shell scripts that I can write.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T22:30:10+00:00Added an answer on May 11, 2026 at 10:30 pm

    You might have some success with a simple Subversion setup; if you have the dev tools on your farm of Macs, then they’ll already have Subversion installed.

    Your script is as simple as running svn up on the deployment directory as often as you want and checking your changes in to the Subversion server from your machine. You can do this without any special setup on the server.

    If you don’t care about history and a version control system seems too “heavy”, the traditional Unix tool for this is called rsync, and there’s lots of information on its website.


    Perhaps you’re looking for a solution that doesn’t involve any polling; in that case, maybe you could have a process that runs on each Mac and registers a local network Bonjour service; DNS-SD libraries are probably available for your language of choice, and it’s a pretty simple matter to get a list of active machines in this case. I wrote this script in Ruby to find local machines running SSH:

    #!/usr/bin/env ruby
    
    require 'rubygems'
    require 'dnssd'
    
    handle = DNSSD.browse('_ssh._tcp') do |reply|
      puts "#{reply.name}.#{reply.domain}"
    end
    
    sleep 1
    handle.stop
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running Eclipse Indigo on Mac 10.7.4. I have a Maven (3.0.3) project set
I have set the eclipse java formatter to wrap lines that exceed 120 characters
I have set up an app that is registered for remote notifications. - (void)application:(UIApplication*)application
I have apache and mysql set up on my local machine (Mac). Whenever I
I have set up a Bonjour network between an iPhone and a Mac. The
We have some nightly build machines that have the cuda libraries installed, but which
On Windows machines that we own it's possible to change a MAC address to
I have created Map application and it is running on my mac machine with
I have a bunch of images I've set up in css to appear as
I have an ASP.net 3.5 sp1 web application that is running on IIS6 and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.