I have a Rundeck Rundeck 3.1.2-20190927 community, a Project with a scheduled job at 01:02:00 CET , and it works. BUT every night, I get a notification for this same job, scheduled at 00:00:00 CET ! I can't find any info in database or WebUI, can anybody help me ?
Thank you !
Nicolas
If you're using the same timezone configured in your Rundeck server, you don't need to specify it, remove the timezone of your job definition and your job runs using the Rundeck server timezone.
Related
All
I have been created one sequence in datastage and in that seq there are 18 parallel jobs.
After completion of sequence I found two scenario
scenario 1:
I have checked summary of sequence in which I have seen that my first job's start time is 1:30 pm and completion time is 1:40 pm but when I checked parallel job's log then I found that job has started at 1:35 pm and completion is 1:40 pm.
scenario 2:
Next job has started after 1st job but not immediate completion of 1st job there are 9 minutes of gap between 1st job finish time and 2nd job run time.
please help us to understand the scenario and also help us to resolve the issue.
I am trying to gather all the info from our scheduled tasks by powershell.
I would like to get not only the name, action and the times but also the full schedule of when its going to run.
E.g Mon 12:00, Tue 13:00, Wed 14:00.
I have run a number of scripts and have the times that the tasks run but not what days they are set to.
Does anyone know how to get what days a task is set to?
I am running several cronjobs on kubernetes cluster and want them to run on EDT timezone America/New_York. I would like to find out, how to ensure that my jobs run at specific EDT time. At present, all these jobs run with UTC timezone.
the POD images have been verified that they all have EDT timezone
can set manually timezone by going to each host machine/container
There was some suggestion on finding kubernetes controller and setting timezone on that particular host/container. I would appreciate,if someone can shed light on
a. How one can find kubernetes admin controller?
b. How one can set timezone automatically on the container via command-line or yaml file
I came across following git repo and it helped me solve the problem
https://github.com/hiddeco/cronjobber
Overall, it allows one to set timezone along with cron job specification.
Last night was "fall back" time change for most locations in the US. I woke up this morning to find dozens of job failure notifications. Almost all of them though were incorrect: the jobs showed as having completed normally, yet Rundeck sent a failure notification for it.
Interestingly, this happened in two completely separate Rundeck installations (v2.10.8-1 and v3.1.2-20190927). The commonality is that they're both on CentOS 7 (separate servers). They're both using MariaDB, although different versions of MariaDB.
The failure emails for the jobs that finished successfully showed a negative time in the "Scheduled after" line:
#1,811,391
by admin Scheduled after 59m at 1:19 AM
• Scheduled after -33s - View Output »
• Download Output
Execution
User: admin
Time: 59m
Started: in 59m 2019-11-03 01:19:01.0
Finished: 1s ago Sun Nov 03 01:19:28 EDT 2019
Executions Success rate Average duration
100% -45s
That job actually ran in 27s at 01:19 EDT (the first 1am hour, it is now EST). Looking at the email headers, I believe I got the message at 1:19 EST, an hour after the job ran.
So that would seem to imply to me that it's just a notification problem (somehow).
But there were a couple of jobs that were following other job executions that failed as well, apparently because the successfully finished job returned a RC 2. I'm not sure what to make of this.
We've been running Rundeck for a few years now, this is the first I remember seeing this problem. Of course my memory may be faulty--maybe we did see it previously, only there were fewer jobs affected or some such.
The fact that it impacted two different versions of Rundeck on two different servers implies either it's a fundamental issue with Rundeck that's been around for a while or it is something else in the operating system that's somehow causing problems for Rundeck. (Although time change isn't new, so that would seem to be somewhat surprising too.)
Any thoughts about what might have gone on (and how to prevent it next year, short of the obvious run on UTC) would be appreciated.
You can define specific Timezone in Rundeck, check this and this.
I don't understand why this isn't working, I set up a pgAgent job to send a NOTIFY from the database every hour
The steps
The schedule
Turns out that problem was that heroku doesn't support agAgent and the database was running on heroku, I ended making a work around the scheduling tasks using windows task scheduler - it's not the best solution but it does the job I needed to do...