<div dir="ltr">In that case, it will run only in Oct,Nov, & Dec. But, I want to run the timer unit weekly after a specific calendar date & time.<div>How to specify if I want to run some task on every 12 hours after Jan'2021 (start from future date & time)</div><div><br></div><div>Are the below requirements possible with a systemd timer ? </div><div><br></div><div>Let say, Current date & time is : 2020-08-09 12:00:00</div><div>1) Run the task every 1 hr starting from tomorrow </div><div>2) Run the task every 1 hr after 2020-08-09 15:00:00 </div><div>3) Run the task on 2nd & 3rd day of the month after 2020-10-01 <br><div><br></div></div><div>Basically, I want to specify the future time as start time of the timer unit and the other specifications mentioned in onCalender has to be executed after the start time </div><div><br></div><div><br></div><div>Thanks,</div><div>Vinitha</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 9, 2020 at 1:34 PM Ronnie Thomas <<a href="mailto:ronnietom@gmail.com">ronnietom@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 9, 2020 at 12:20 AM Vini Harimoorthy <<a href="mailto:vini6452@gmail.com" target="_blank">vini6452@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Team,<div><br></div><div><br></div><div>Is there a way to specify the "start date & time" of the timer unit with calendar timer ? </div><div><br></div><div>For example, the below timer units runs every weekly from the service is activated.My requirement is that I need to run the timer unit only after the 10th month i.e."2020-10-1" </div><div><div><pre style="background-color:rgb(235,241,245);border-width:1px;border-style:dashed solid solid;border-color:rgb(187,204,221);padding:0.8em 1em 1em;line-height:1.3;overflow:auto;word-break:break-all;margin-top:0px;white-space:pre-wrap">[Unit]
Description=Run foo weekly
[Timer]
OnCalendar=weekly
Persistent=true
[Install]
WantedBy=timers.target</pre></div><br></div></div></blockquote><div><br></div><div><div>The "weekly" expression is just a shorthand for "Mon *-*-* 00:00:00". So, instead of</div><div>using weekly, you could explicitly specify October, November and December in your</div><div>OnCalendar= statement. i.e</div><div><br></div><div>OnCalendar=Mon *-10,11,12-* 00:00:00</div><div><br></div><div>Regards,</div><div>Ronnie P. Thomas</div> </div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b>Regards,</b><div><b>Vinitha H</b><div><br></div></div></div></div></div></div>