Cron Expression to run the bot Every month end date at 10pm

How to write Cron Expression to run the bot Every month end date at 10pm

eg. In

Jan 31st
Feb 28
March 31st
April 30th
till dec

every month end dat

Hi @satish.rathi59 ,
0 0 22 LW * ? for last working day
0 0 22 L * ? for last day

Cheers

Hi @satish.rathi59

0 0 22 L * ?

Cheers!!

1 Like

Hi @satish.rathi59

Use below Cron Expression

0 0 22 L * ?

Happy Automation :slight_smile:
Cheers!!

1 Like

an you check:

0 0 22 L * ? *


1 Like

Hey @satish.rathi59
you can try:
0 0 22 L * ? *

image

1 Like

Hi @satish.rathi59

The Cron Expression will be

0 0 22 L * ? *

  • 0: Seconds (it specifies the exact second when the task should trigger, in this case, 0 seconds).
  • 0: Minutes (it specifies the exact minute when the task should trigger, in this case, 0 minutes).
  • 22: Hours (it specifies the exact hour when the task should trigger, in this case, 22 hours, which is 10 PM in a 24-hour format).
  • L: Day of the month (it specifies the last day of the month).
  • *: Every month (it specifies that the task should occur every month).
  • ?: No specific day of the week (it is often used in Quartz cron expressions to denote no specific day of the week).
  • *: Every year (it specifies that the task should occur every year).

The above cron expression will be esecuted in these dates

Regards

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.