{"action":"closed","issue":{"url":"https://api.github.com/repos/alexylem/jarvis/issues/39","repository_url":"https://api.github.com/repos/alexylem/jarvis","labels_url":"https://api.github.com/repos/alexylem/jarvis/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/alexylem/jarvis/issues/39/comments","events_url":"https://api.github.com/repos/alexylem/jarvis/issues/39/events","html_url":"https://github.com/alexylem/jarvis/issues/39","id":164622648,"number":39,"title":"Executer commandes avec délai","user":{"login":"remjou1","id":19572335,"avatar_url":"https://avatars.githubusercontent.com/u/19572335?v=3","gravatar_id":"","url":"https://api.github.com/users/remjou1","html_url":"https://github.com/remjou1","followers_url":"https://api.github.com/users/remjou1/followers","following_url":"https://api.github.com/users/remjou1/following{/other_user}","gists_url":"https://api.github.com/users/remjou1/gists{/gist_id}","starred_url":"https://api.github.com/users/remjou1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remjou1/subscriptions","organizations_url":"https://api.github.com/users/remjou1/orgs","repos_url":"https://api.github.com/users/remjou1/repos","events_url":"https://api.github.com/users/remjou1/events{/privacy}","received_events_url":"https://api.github.com/users/remjou1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alexylem/jarvis/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-08T21:47:01Z","updated_at":"2016-07-17T08:37:38Z","closed_at":"2016-07-17T08:37:38Z","body":"voila c'est asser compliqué... en fait j'ai récemment crée un script qui me permet de lancer une seul et unique commande après un certain temps : \r\n```\r\n*DANS (*) EXTINCTION*== ./extinction.sh (1)\r\n```\r\nle script : \r\n```\r\n#!/bin/bash\r\n./jarvis.sh -s \"d'accord\"\r\necho \"1 : $1\"\r\ndelai=$1\r\necho \"delai : $delai\"\r\ncompte=$[delai*60]\r\necho \"compte : $compte\"\r\nsleep $compte\r\n./jarvis.sh -s \"ok\" && cd /home/pi && sudo ./src/chacon-rpi/emit -d 0136CA46 -b A1 -x && sudo ./src/chacon-rpi/emit -d 0136CA46 -b A2 -x && sudo ./src/chacon-rpi/emit -d 0136CA46 -b A3 -x &&  cd /home/pi/jarvis\r\n```\r\nmais voila je voudrais faire plusieurs scipt dans ce gnere et je me vois pas créer 10scipts (même en copier coller) pour executer une commande chacune donc c'est pour savoir si il était ps possible de rajouter une option -... a jarvis ou je ne sais quoi qui permettent de lancer une commande stocké dans une variable....\r\n\r\nje sais pas si je suis très clair..."}}
{"actor":{"display_login":"alexylem"}}