Hi Team,
I need to trigger the process every month of the 4th if it lands on the weekend, and initiates a download on the upcoming Monday.
can anyone help me with this, please?
@Divyashreem Can you please help
Thanks,
Chethan P
Hi @copy_writes
This won’t be a 1 step solution.
Here is a cron for the 4th day of every month:
0 0 0 4 * ? *
Can you take a look here.
Hi @Kavya_Mamidishetti2
As per @codemonkee ’s post you cannot add conditions/logic within a cron expression so you won’t be able to achieve this with a single cron expression.
You have a few options but the cleanest might be just to insert some logic into your code at “Init” like the attached workflow.
Main.xaml (16.5 KB).
[image] . THen you will need a cron (0 0 0 1,8 * ? *) to run on 1st day and 8th of the month.
Hopefully this helps
Trying to get a Cron expression working in Trigger but not able to get what I need.
Use Case; Run 6:30am every morning every day day of the month except the 1st day and only Mon-Friday.
My closest attempt is: 0 30 6 ? * 2-6 *
As soon as I try to change ? to 2-31 (So it runs only from the 2nd of each month to the 31st of each month) I get an error.
I understand you can’t specify specific days of the month and specific days of the week in the same expression.
But then how do I get what I nee…
These options might help.
Cheers
Steve
Is this work any idea in corn expression!
every month 4th the bot should trigger if that day was Sunday or Saturday we need to trigger the bot on Monday
Veera_Raj
(Veeraraj Sethuraman)
May 31, 2022, 8:23am
5
follow this video
if its not usefull i will tell you how to do crone expression