{"id":1783,"date":"2021-11-16T15:35:21","date_gmt":"2021-11-16T14:35:21","guid":{"rendered":"http:\/\/cdc.cyu.fr\/?page_id=1783"},"modified":"2021-11-16T15:36:13","modified_gmt":"2021-11-16T14:36:13","slug":"jobs-problems","status":"publish","type":"page","link":"https:\/\/cdc.cyu.fr\/index.php\/documentations-main\/jobs-problems\/","title":{"rendered":"Mes jobs ne s&rsquo;ex\u00e9cutent pas"},"content":{"rendered":"\n<p>Cette section regroupe des erreurs communes rencontr\u00e9es lors de l&rsquo;ex\u00e9cution d&rsquo;un job. Les diff\u00e9rents sc\u00e9narios sont  class\u00e9s par message d&rsquo;erreur.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">$&rsquo;\\r&rsquo; : commande introuvable<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Explication<\/h3>\n\n\n\n<p>Ces caract\u00e8res bizarres <code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">$'\\r'<\/code> font r\u00e9f\u00e9rence aux caract\u00e8res de fin de ligne employ\u00e9s sous Windows, \u00e0 savoir <code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">\\r\\n<\/code>. Le caract\u00e8re <code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">\\r<\/code> signifie Carriage Return (CR) et <code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">\\n<\/code> signifie Line Feed (LF). Or, sous Linux, un seul caract\u00e8re de fin de ligne est utilis\u00e9, \u00e0 savoir <code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">\\n<\/code> (LF). Aussi, le caract\u00e8re <code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">\\r<\/code> est vu comme un caract\u00e8re surnum\u00e9raire non reconnu.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Rem\u00e8de<\/h3>\n\n\n\n<p>Sur Osaka, convertissez les fichiers que vous avez \u00e9dit\u00e9 sous windows avec la commande <code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">dos2unix<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">dos2unix mon_fichier<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Cette section regroupe des erreurs communes rencontr\u00e9es lors de l&rsquo;ex\u00e9cution d&rsquo;un job. Les diff\u00e9rents sc\u00e9narios sont class\u00e9s par message d&rsquo;erreur. $&rsquo;\\r&rsquo; : commande introuvable Explication Ces caract\u00e8res bizarres $&rsquo;\\r&rsquo; font r\u00e9f\u00e9rence aux caract\u00e8res de fin de ligne employ\u00e9s sous Windows, &hellip; <a href=\"https:\/\/cdc.cyu.fr\/index.php\/documentations-main\/jobs-problems\/\">Continuer la lecture <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":124,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1783","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cdc.cyu.fr\/index.php\/wp-json\/wp\/v2\/pages\/1783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cdc.cyu.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cdc.cyu.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cdc.cyu.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cdc.cyu.fr\/index.php\/wp-json\/wp\/v2\/comments?post=1783"}],"version-history":[{"count":2,"href":"https:\/\/cdc.cyu.fr\/index.php\/wp-json\/wp\/v2\/pages\/1783\/revisions"}],"predecessor-version":[{"id":1786,"href":"https:\/\/cdc.cyu.fr\/index.php\/wp-json\/wp\/v2\/pages\/1783\/revisions\/1786"}],"up":[{"embeddable":true,"href":"https:\/\/cdc.cyu.fr\/index.php\/wp-json\/wp\/v2\/pages\/124"}],"wp:attachment":[{"href":"https:\/\/cdc.cyu.fr\/index.php\/wp-json\/wp\/v2\/media?parent=1783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}