On Tue, Feb 11, 2014 at 4:43 PM, Lily Fu <[email protected]> wrote:
>
> I am running Jenkins on Window7 now for testing purpose.

Keep in mind that jenkins jobs don't necessarily have to run on the
server - and the slaves don't have to have the same OS - even if you
start on a single machine.

> I have a command line job (liquibase to compare two databases)
>
> I want to run the command line job twice a day ;
>
> How can I create such a job in Jenkins?

Click the 'new job' link and create a free-style project.

> (basically like a cron job on linux)

Under 'Build triggers' check 'build periodically' and fill in the
schedule with the cron-like syntax that is explained if you click the
? symbol.   Something like 0 1,13 * * *  would run at 1 am and 1 pm.

Then add a build step to execute a windows batch command to do the work.

Did you try this and run into some problem?

-- 
   Les Mikesell
     [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to