<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "How to repeat a job by day interval?????"]]></title>
		<link>http://forums.terracotta.org/forums/posts/list/17.page</link>
		<description><![CDATA[Latest messages posted in the topic "How to repeat a job by day interval?????"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>How to repeat a job by day interval?????</title>
				<description><![CDATA[ Hi..,

pls find the below code.

String cronExpression = "0 10 5 15/2 * ? *";
CronTrigger cronTrigger = new CronTrigger("a","b",cronExpression);
cronTrigger.setStartTime(may 15th);
cronTrigger.setEndTime(june 10th);

i want to run a job which repeats every 2 days starting from may 15th. Currently it is running in the following order.
May - 15,17,19,21,23,25,27,29,31
June - 15,17,19,21,23,.... and so on.

but i want to start from 1st of next month (i.e 1st of june not from 15th of june).

so what should i do to run the job in the following order?
May - 15,17,19,21,23,25,27,29,31
June - 1,3,5,7,9,11,13,15,17,19,21,23,.... and so on.

(Note : i have to use <b>only cron trigger not the simple trigger</b>.)

Thanks
SK Raana
]]></description>
				<guid isPermaLink="true">http://forums.terracotta.org/forums/posts/list/7016.page#34988</guid>
				<link>http://forums.terracotta.org/forums/posts/list/7016.page#34988</link>
				<pubDate><![CDATA[Wed, 16 May 2012 00:11:57]]> GMT</pubDate>
				<author><![CDATA[ skraana]]></author>
			</item>
			<item>
				<title>Re:How to repeat a job by day interval?????</title>
				<description><![CDATA[ You can't do that with cron trigger.  there are other trigger types that can do it.]]></description>
				<guid isPermaLink="true">http://forums.terracotta.org/forums/posts/list/7016.page#34996</guid>
				<link>http://forums.terracotta.org/forums/posts/list/7016.page#34996</link>
				<pubDate><![CDATA[Wed, 16 May 2012 10:48:54]]> GMT</pubDate>
				<author><![CDATA[ jhouse]]></author>
			</item>
			<item>
				<title>Re:How to repeat a job by day interval?????</title>
				<description><![CDATA[ Could you please give me an solution for the above problem????????

Thanks in advance.. :) :)

-
SK Raana

]]></description>
				<guid isPermaLink="true">http://forums.terracotta.org/forums/posts/list/7016.page#34999</guid>
				<link>http://forums.terracotta.org/forums/posts/list/7016.page#34999</link>
				<pubDate><![CDATA[Wed, 16 May 2012 20:39:30]]> GMT</pubDate>
				<author><![CDATA[ skraana]]></author>
			</item>
	</channel>
</rss>