This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!

sivachithambaram Rangaraj

Greenhorn
+ Follow
since Feb 10, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sivachithambaram Rangaraj

Hi

I am using JavaMailSender to send a mail .Mail is received to the correct destination ,But the body of email contains unwanted header informations like

------=_Part_8_19791179.1276263086968
Content-Type: multipart/related; boundary="----=_Part_9_5263030.1276263086968"

------=_Part_9_5263030.1276263086968
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Dear Applicant1,

Please find your account details below,

User Name : Applicant1
Password : BP^9^0uN

Kindly note that this is a system generated password and do remember to change this password when you login for the first time.

Warm Regards,
Jupiter Admin
------=_Part_9_5263030.1276263086968--


and also in the mail "to" address and "subject" of the mail is not populated.It looks like some issues related to the configuration.But i coudn't figure out the exact reason.The JavaMailSender has the following configuration
port=25
host=local
smtp.auth=false
mail.smtp.starttls.enable=false.


Any help will be highly appreciated.



8 years ago
Can anyone help me out in building a cron trigger which execute every two weeks on some specified weekday...
8 years ago
I solved it by building a simple trigger with the specified interval multiplied by 24..

i.e Trigger t=Triggerutils.makeHourlyTrigger(interval*24);'
This will trigger for every n days ..


Thanks
Siva
8 years ago
Thanks rohan ,for the reply..

My scenario is like if i schedule it on 10th of feb the job should be executed for every n days starting on 10th feb ..not on the even days alone or not on the odd days alone...the intereval may vary from 1 to n...

8 years ago
Hi,

How to write a cron expression to execute on every two days from the current day.

I have used one expression like "1 0 18 */2 * ?" but it is firing only in the odd days.. i guess becaz it is starting it from day 1 of the month.

So can anyone help on this?

Thanks
Siva
8 years ago