!!This example CrushTask shows how to setup variables which facilitate in running multiple jobs servers in different data centers with full redundancy.
----
For this example we have two data centers, DC1, and DC2.  In each data center there are two instances of CrushFTP running, Main1 and Main2.\\
!!Requirements:
We have jobs that should only ever run in DC1, and jobs that should only ever run in DC2...never on the opposite\\
We have jobs that should run in DC1, unless DC1 is down...then they should run in DC2.\\
We have jobs that should run in DC2, unless DC2 is down...then they should run in DC1.\\
----
To accomplish this we will use variables for the "enabled" flag in all our jobs....specifically global variables.  There will be another job that runs every minute which is configuring variables for the current status of things.\\
[attachments|dc1_only.png][attachments|dc1_unless.png]\\
\\