'Using value from macro variable to create an scheduled pipeline-job

I wonder if it's possible in azure devOps to get the following work:

  1. The user run a pipeline and enter 3 Macro-Variables: startDate, startTime, duration.
  2. Based on the macro-variables, a pipeline-job should be scheduled to do something (e.g. a pipeline which set webpage in maintenance mode.

Or is the better way to solve this, to immediately run a pipeline, which create a scheduled command (e.g. via at on linux-bash) that will be executed in the future?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source