[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Condor as virtual cron job scheduler

You could run a script periodically that advertises into the machine ClassAd what cnames the machine has. This sort of thing can be easily accomplished with STARTD_CRON. So, in the machine ad, you might have something like this:

cnames = "name1,name2,..."

The job can then be set up to require a machine with a cname matching the one you want for that job. The requirements might look something like this:

+desired_cname = "blah"
requirements = stringListIMember(MY.desired_cname,TARGET.cnames)

The timing of the job can be controlled via the cron-related submit commands.

I hope that helps.


On 5/20/11 12:04 PM, phiroc@xxxxxxx wrote:

I would like to run a batch job at set times on a remote machine whose name is contained in a DNS cname (ie, alias). There's no way to know the remote machine name or IP address in advance.

Can this be done in Condor?

Furthermore, is it possible to cache jobs on remote machines in case the server machine on which the Condor scheduler is running is unavailable?

Many thanks.

Best regards,

Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: