[Anthill] Weekday vs weekend schedules

VanHuis, James JVanhuis at zebra.com
Mon Apr 4 16:51:07 CDT 2005


Just a follow up to this, I had a very similar problem and was able to schedule a job via Windows "Scheduled Tasks".

To set this up, simply define a new scheduled task, and select Internet Explorer as the executable.  After defining your schedule, go to the Properties of the task.  In the Run box, change from "C:\...\IEXPLORE.EXE" to "C:\...\IEXPLORE.EXE -nohome http://myServer:8080/anthill/BuildProjectStepTwoServlet?ProjectName=CVS_Anthill-Example&ForceBuild=true"

Under the settings tab, under the group "Scheduled Task Completed", set the stop process time to 1 minute.  This should launch a browser at the defined time which forces the build, and then kills the browser after 1 minute.  Works like a charm here.

-----Original Message-----
From: anthill-bounces at lists.urbancode.com
[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Eric Minick
Sent: Wednesday, January 26, 2005 12:25 PM
To: Anthill user list
Subject: Re: [Anthill] Weekday vs weekend schedules


Hi Daniel,

There isn't a built in feature for this type of scheduling in Anthill 
OS. One possible workaround would be to create your schedule that does 
the small batch of test cases every day - the build probably won't run 
over the weekend though, since there may not be changes to the code.

You would then create a seperate "project" that uses mostly the same 
settings, but has no schedule. You would then use something outside of 
the software to trigger a manual build on Friday nights. This could be 
just having someone kick off the build on his way out the door on Friday 
but manual processes tend to fail - that's why we have Anthill. Better 
would be to set up an outside scheduling process that kicks off a web 
request forcing a build on that build track at the appropriate time.

I think people in the *nix world have used cron with wget to do 
something similar. I think the URL to use would be something like:
http://myServer:8080/anthill/BuildProjectStepTwoServlet?ProjectName=CVS_Anthill-Example&ForceBuild=true
I haven't tried this in OS, but I've definately kicked off builds this 
way in Anthill Pro. I would expect it to work in just about the same way.

Also, I have to mention that the type of scheduling you'd like is 
available in recent versions Anthill Pro.

I'll be interested to hear how you go about this and would be happy to 
help if I can.

Good luck,

Eric



Daniel Holmes wrote:

> I’m a new AntHill OS user. I’ve set up both a system build and 
> regression test tasks. Since I have a very computation intensive 
> system. I would like to schedule a batch of smaller test cases to run 
> every Mon – Thurs night and Schedule a batch of larger test cases for 
> Fri to give them the weekend to run.
>
> Is there a mechanism for defining a schedule of this nature.
>
> Daniel
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>

_______________________________________________
Anthill mailing list
Anthill at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill
 
- CONFIDENTIAL-
This email and any files transmitted with it are confidential, and may also be legally privileged.  If you are not the intended recipient, you may not review, use, copy, or distribute this message. If you receive this email in error, please notify the sender immediately by reply email and then delete this email.



More information about the Anthill mailing list