Hi,
It depends on your use case. For example, you need to run some tasks on a particular date. For that, you need to gather the date first using the shell or command module. The output of that task you need to store in a register and then apply if-else conditions.