Cron scheduling in rundeck

75 views
Skip to first unread message

mezam

unread,
Feb 15, 2023, 4:20:36 AM2/15/23
to rundeck-discuss
Hello,

all scheduled jobs in rundeck run one day ahead of scheduled time. Rundeck 4.8 runs on Windows 2019 and the OS time is correctly set by the domain. In the job schedule tab the time zone is set to Europe/Rome. However, if a job is scheduled like this:

0 00 03 ? * 4#3 *  which stands for 03:00 AM, on the third Thursday of the month

it runs on the Wednesday. Is there any part in rundeck responsible for this adjustment?

rac...@rundeck.com

unread,
Feb 15, 2023, 7:38:50 AM2/15/23
to rundeck-discuss
HI Mezam,

Try adjusting the right timezone following this message.

Regards.

mezam

unread,
Feb 15, 2023, 9:23:22 AM2/15/23
to rundeck-discuss
I've added it to the bat file used to start java like this:

java %RDECK_CLI_OPTS% %RDECK_SSL_OPTS% -Drundeck.jaaslogin=true -Duser.timezone=Europe/Rome -Dloginmodule.name=multiauth -Dloginmodule.conf.name=jaas-ldap.conf -Djava.security.auth.login.config=E:\rundeck\server\config\jaas-ldap.conf -jar rundeck.war --skipinstall -d  >> %CURDIR%\var\logs\service.log  2>&1

but didn't work. I can leave with it I guess, I just have to remember to crontab by adding an extra day...
Reply all
Reply to author
Forward
0 new messages