Exemple : Fichier de propriétés de redémarrage d'un travail
Utilisez l'utilitaire WSGrid pour redémarrer des travaux qui sont à l'état redémarrable en utilisant l'ID du travail pouvant être redémarré du fichier de propriétés.
Par exemple, si PostingSample:0001 s'est arrêté dans un état redémarrable, vous pouvez le redémarrer à l'aide du fichier restart.props, lequel contient restart-job=postingSample:0001.
A l'invite de commande, exécutez la commande suivante :
>wsgrid.sh cntl.props restart.prop
Le travail spécifié dans restart-prop est redémarré.
Utilisation de l'utilitaire WSGrid pour créer restart.prop
Spécifiez un nom de fichier à l'aide du troisième argument, comme illustré ci-dessous :
>wsgrid.sh cntl.props job.props restart.prop
Si un travail s'arrête dans un état redémarrable, un fichier nommé restart.prop est créé et l'ID du travail est écrit comme illustré dans l'exemple.