-2

I've been searching does rundeck supports jobs dependencies?

That's what I found Does rundeck support jobs dependencies? so I need to get the time of execution of job-1 in rundeck and use it in another job-2 to run it with a cron after the time of execution of job-1.

Tamara Koliada
  • 1,200
  • 2
  • 14
  • 31
  • 1
    Possible duplicate of [does rundeck supports jobs dependencies?](https://stackoverflow.com/questions/36291321/does-rundeck-supports-jobs-dependencies) – Tamara Koliada Feb 18 '19 at 14:18

1 Answers1

0

I think that the best way is using 'time' command on your steps and use it on some global option (https://docs.rundeck.com/docs/administration/configuration/configuration-file-reference.html#global-execution-variables): How do I get just real time value from 'time' command?

Also, you can use Execution Data vars for use it on a notification. Check it: https://docs.rundeck.com/docs/developer/notification-plugin.html#execution-data you can play with ${execution.dateStarted} and ${execution.dateEnded}

MegaDrive68k
  • 3,768
  • 2
  • 9
  • 51