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

Re: [Condor-users] Dynamic Insertion of resource Class-Ads



Hi Saurabh,

One thing i have notice is that the StartLog is not updating at the same rate as the cron jobs. Mine is set to run at every 1s (for test purpose) and the StarLog is update about every 1 minute with this message
2/12 17:01:02 Cron: Job 'job1' is still running!

I Also notice that even with the above message the attribute seem to be update okey for the machine so i guest it is oket to get this message??

Regards
Carl

On Feb 12, 2008 4:19 PM, Saurabh Agarwal <sagarwa1@xxxxxxxxxxxxxx> wrote:
Hello everybody,

I tried the STARTD_CRON_JOBLIST and specified a job's mode as "WaitForExit" as specified in the Condor Mannual page :

STARTD_CRON_NAME = GMANAGER

GMANAGER_JOBLIST = job2
GMANAGER_job2_PREFIX = prefix_
GMANAGER_job2_EXECUTABLE = /home/condor/install/modules/logger
GMANAGER_job2_PERIOD = 5m
GMANAGER_job2_MODE = WaitForExit

Now my "logger" is giving me a output of the form "Check = (some int value)" (ClassAd) and updates a log file too, which I need to keep for some of my purpose in the same directory where executable is. According to the above entry, this "logger" should run every 5 minutes. Now this is where the problem is, my script is not running at all. When I change the MODE to Periodic, it runs just once. Is there anything above I am doing wrong? I checked the STartLog too, which says:
2/11 20:06:33 Cron: Initializing job 'job2' (/home/condor/install/modules/logger)
Which I guess the job is getting Initialized with Cron, but not updating my log, every 5 mins.

Any Information provided would be great.


Thanks,
Saurabh Agarwal,
Graduate Student - Computer Science,
Binghamton University.

On Jan 31, 2008 3:16 PM, Erik Paulson <epaulson@xxxxxxxxxxx> wrote:
On Thu, Jan 31, 2008 at 03:07:43PM -0500, Saurabh Agarwal wrote:
> Hi Dan,
>
> Thanks for your quick reply, but I am not sure where to look for
> STARTD_CRON_JOBLIST. I checked condor_config file

That's a good start, but besides the example config file, you'll also want
to check the manual:
http://www.cs.wisc.edu/condor/manual/v7.0/

START_CRON_JOBLIST, in particular, is documented here:
http://www.cs.wisc.edu/condor/manual/v7.0/3_3Configuration.html#13490

-Erik
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/


_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/