# Example
#2023-02-08T14:33:30|4000|migrate-train.sh -n 4000 -m
#2023-02-08T14:33:30|4000|echo "m"

2023-02-08T14:33:30|4000|echo "start migration of 4000"
#2023-02-08T14:33:30|4000|echo "start migration of 4000"|Done|2023-02-13T11-05-49|echo "start migration of 4000"
#2023-02-08T14:33:30|4000|echo "start migration of 4000"|Done|2023-02-13T11-05-49|echo "start migration of 4000"|MigrationOk

# list of to migrated trians: grep Done schedule-actions | grep -v MigrationOk 
# loop over that
# trainnumber is echo $line | cut -d'|' -f2  
# curl it
# check 
# message to slack if not successfull after three hours
# or update line in scheduleactions append with |MigrationOk

# Leave this last line in!