[Plugin Tiers] Plugin Jailbreak

Hello.

J’ai inclus une exclusion pour ton erreur de gpsloc. Donc tu peux mettre à jour.

Le cron ne se créé pas ? Envoie les log Jailbreak quand tu crées le cron.

Tu as ce genre de message dans le log Jailbreak ?

Màj commande -> Application - type -> Info - subType -> String - valeur -> springboard);

Elle se charge toutes les 5 min via le plugin, ça ça ne changera pas.
En revanche ton iPad, lui, va envoyer de lui-même l’information tous les X intervalles que tu as fixé.

Voici le log
création d’un cron personnalisé toutes les 30 sec

[2020-10-30 11:25:03][DEBUG] : DEBUGGG entrée :
[2020-10-30 11:25:06][DEBUG] : Equipement : iPad 4 cuisine Commande Application : bash jailed/current_page.sh Résultat : Kiosk Browser
[2020-10-30 11:25:06][DEBUG] : Equipement : iPad 4 cuisine Commande estimatetime : ∞
[2020-10-30 11:25:06][DEBUG] : Equipement : iPad 4 cuisine Commande batterycapacity : 100.41
[2020-10-30 11:25:06][DEBUG] : Equipement : iPad 4 cuisine Commande batteryhealth : 88.24
[2020-10-30 11:25:06][DEBUG] : Equipement : iPad 4 cuisine Commande chargerpower : 1
[2020-10-30 11:25:06][DEBUG] : Equipement : iPad 4 cuisine Commande battery : 100
[2020-10-30 11:25:06][DEBUG] : Equipement : iPad 4 cuisine Commande uptime : 23 jour(s)  1h14
[2020-10-30 11:25:06][DEBUG] : Equipement : iPad 4 cuisine Commande loadav : 1.50 1.61 1.62
[2020-10-30 11:25:06][DEBUG] : Equipement : iPad 4 cuisine Commande hdd : 27G 23G 16%
[2020-10-30 11:25:06][DEBUG] : Equipement : iPad 4 cuisine Commande plugged_1 : AC Power
[2020-10-30 11:25:06][DEBUG] : Equipement : iPad 4 cuisine Commande lightsensor : 20.31
[2020-10-30 11:25:06][INFO] : Durée du traitement d'envoi des commandes GetInformation : 2.652s
[2020-10-30 11:25:06][INFO] : Durée globale du traitement des commandes GetInformation : 2.985s
[2020-10-30 11:25:50][DEBUG] : Récupération de la liste des commandes 200
[2020-10-30 11:25:52][INFO] : Vérification du cron distant200 - Array
[2020-10-30 11:25:52][INFO] : Commande par SSH bash /var/root/jailed/check_cron.sh com.cron.maj_scripts_daily;bash /var/root/jailed/check_cron.sh com.cron.apt_update_weekly;bash /var/root/jailed/check_cron.sh com.cron.interval_jeedom; sur 192.168.1.86
[2020-10-30 11:25:53][INFO] : Durée du traitement d'envoi de commande : 0.504s
[2020-10-30 11:25:53][DEBUG] : Résultat du cron distant Scripts Not running but OK.
[2020-10-30 11:25:53][DEBUG] : Résultat du cron distant Paquets Not running but OK.
[2020-10-30 11:25:53][DEBUG] : Résultat du cron distant Commandes Not running but OK. ..
[2020-10-30 11:26:03][DEBUG] : Lancement action perso killall 'WebsiteWrapper' ; echo $? : iPad 4 cuisine
[2020-10-30 11:26:03][DEBUG] : Valeur de retour action : 3155 : 0
[2020-10-30 11:26:03][DEBUG] : TYPE action
[2020-10-30 11:26:04][DEBUG] : Lancement action Sleep iPad 4 cuisine
[2020-10-30 11:26:04][DEBUG] : Valeur de retour action Sleep : 0
[2020-10-30 11:26:04][DEBUG] : TYPE action
[2020-10-30 11:26:23][DEBUG] : Récupération de la liste des commandes 200
[2020-10-30 11:26:23][DEBUG] : Affichage nom device = iPad 4
[2020-10-30 11:26:25][INFO] : Vérification du cron distant - Array
[2020-10-30 11:26:27][INFO] : Commande par SSH getapplist sur 192.168.1.86
[2020-10-30 11:26:27][INFO] : Commande par SSH getapplist sur 192.168.1.86
[2020-10-30 11:26:27][INFO] : Durée du traitement d'envoi de commande : 1.527s
[2020-10-30 11:26:27][DEBUG] : Liste des applications = eu.heinelt.ifile: iFile net.bitshuttle.kiosk.browser: Kiosk Browser com.apple.appleaccount.AACredentialRecoveryDialog: AACredentialRecoveryDialog org.tihmstar.h3lix: h3lix com.apple.AccountAuthenticationDialog: AccountAuthenticationDialog libactivator: Activator com.apple.AdSheetPhone: iAd com.apple.AppStore: App Store com.apple.AskPermissionUI: AskPermissionUI com.apple.camera: Appareil photo com.apple.CheckerBoard: CheckerBoard com.apple.CompassCalibrationViewService: CompassCalibrationViewService com.apple.MobileAddressBook: Contacts com.apple.CoreAuthUI: Authentification de l’utilisateur com.saurik.Cydia: Cydia com.apple.datadetectors.DDActionsService: DDActionsService com.apple.DataActivation: DataActivation com.apple.DemoApp: DemoApp com.apple.Diagnostics: Diagnostic com.apple.DiagnosticsService: DiagnosticsService com.apple.facetime: FaceTime com.apple.FacebookAccountMigrationDialog: FacebookAccountMigrationDialog com.apple.family: Family com.apple.appleseed.FeedbackAssistant: Feedback com.apple.fieldtest: FieldTest com.apple.mobileme.fmf1: Mes amis com.apple.mobileme.fmip1: Localiser com.apple.gamecenter.GameCenterUIService: Service UI de Game Center com.apple.Home: Maison com.apple.Home.HomeUIService: HomeUIService com.apple.InCallService: InCallService com.officialscheduler.mterminal: Terminal com.apple.Magnifier: Loupe com.apple.MailCompositionService: MailCompositionService com.apple.mobilesms.notification: MessagesNotificationViewService com.apple.mobilesms.compose: MessagesViewService com.apple.mobilecal: Calendrier com.apple.mobilenotes: Notes com.apple.MobileSMS: Messages com.apple.mobilesafari: Safari com.apple.mobileslideshow: Photos com.apple.mobiletimer: Horloge com.apple.MusicUIService: MusicUIService com.apple.news: News com.apple.Photo-Booth: Photo Booth com.apple.PhotosViewService: PhotosViewService com.apple.PreBoard: PreBoard com.apple.Preferences: Réglages com.apple.PrintKit.Print-Center: Impression com.matchstic.reprovision.ios: ReProvision com.apple.reminders: Rappels com.apple.social.SLGoogleAuth: SLGoogleAuth com.apple.social.SLYahooAuth: SLYahooAuth com.apple.SafariViewService: SafariViewService com.apple.ScreenSharingViewService: ScreenSharingViewService com.apple.ServerDocuments: Server Drive com.apple.purplebuddy: Configuration com.apple.SharedWebCredentialViewService: SharedWebCredentialViewService com.apple.SharingViewService: SharingViewService com.apple.SiriViewService: Siri com.apple.share: SocialUIService com.apple.susuiservice: SoftwareUpdateUIService com.apple.StoreDemoViewService: StoreDemoViewService com.apple.ios.StoreKitUIService: iTunes com.apple.TencentWeiboAccountMigrationDialog: TencentWeiboAccountMigrationDialog com.apple.TrustMe: TrustMe com.apple.VSViewService: VideoSubscriberAccountViewService com.apple.WatchListViewService: WatchListViewService com.apple.webapp: Web com.apple.webapp1: WebApp1 com.apple.WebContentFilter.remoteUI.WebContentAnalysisUI: WebContentAnalysisUI com.apple.WebSheet: WebSheet com.apple.iad.iAdOptOut: iAd com.apple.CloudKit.ShareBear: iCloud
[2020-10-30 11:26:27][INFO] : Durée du traitement d'envoi de commande : 1.535s
[2020-10-30 11:26:27][DEBUG] : Liste des applications = eu.heinelt.ifile: iFile net.bitshuttle.kiosk.browser: Kiosk Browser com.apple.appleaccount.AACredentialRecoveryDialog: AACredentialRecoveryDialog org.tihmstar.h3lix: h3lix com.apple.AccountAuthenticationDialog: AccountAuthenticationDialog libactivator: Activator com.apple.AdSheetPhone: iAd com.apple.AppStore: App Store com.apple.AskPermissionUI: AskPermissionUI com.apple.camera: Appareil photo com.apple.CheckerBoard: CheckerBoard com.apple.CompassCalibrationViewService: CompassCalibrationViewService com.apple.MobileAddressBook: Contacts com.apple.CoreAuthUI: Authentification de l’utilisateur com.saurik.Cydia: Cydia com.apple.datadetectors.DDActionsService: DDActionsService com.apple.DataActivation: DataActivation com.apple.DemoApp: DemoApp com.apple.Diagnostics: Diagnostic com.apple.DiagnosticsService: DiagnosticsService com.apple.facetime: FaceTime com.apple.FacebookAccountMigrationDialog: FacebookAccountMigrationDialog com.apple.family: Family com.apple.appleseed.FeedbackAssistant: Feedback com.apple.fieldtest: FieldTest com.apple.mobileme.fmf1: Mes amis com.apple.mobileme.fmip1: Localiser com.apple.gamecenter.GameCenterUIService: Service UI de Game Center com.apple.Home: Maison com.apple.Home.HomeUIService: HomeUIService com.apple.InCallService: InCallService com.officialscheduler.mterminal: Terminal com.apple.Magnifier: Loupe com.apple.MailCompositionService: MailCompositionService com.apple.mobilesms.notification: MessagesNotificationViewService com.apple.mobilesms.compose: MessagesViewService com.apple.mobilecal: Calendrier com.apple.mobilenotes: Notes com.apple.MobileSMS: Messages com.apple.mobilesafari: Safari com.apple.mobileslideshow: Photos com.apple.mobiletimer: Horloge com.apple.MusicUIService: MusicUIService com.apple.news: News com.apple.Photo-Booth: Photo Booth com.apple.PhotosViewService: PhotosViewService com.apple.PreBoard: PreBoard com.apple.Preferences: Réglages com.apple.PrintKit.Print-Center: Impression com.matchstic.reprovision.ios: ReProvision com.apple.reminders: Rappels com.apple.social.SLGoogleAuth: SLGoogleAuth com.apple.social.SLYahooAuth: SLYahooAuth com.apple.SafariViewService: SafariViewService com.apple.ScreenSharingViewService: ScreenSharingViewService com.apple.ServerDocuments: Server Drive com.apple.purplebuddy: Configuration com.apple.SharedWebCredentialViewService: SharedWebCredentialViewService com.apple.SharingViewService: SharingViewService com.apple.SiriViewService: Siri com.apple.share: SocialUIService com.apple.susuiservice: SoftwareUpdateUIService com.apple.StoreDemoViewService: StoreDemoViewService com.apple.ios.StoreKitUIService: iTunes com.apple.TencentWeiboAccountMigrationDialog: TencentWeiboAccountMigrationDialog com.apple.TrustMe: TrustMe com.apple.VSViewService: VideoSubscriberAccountViewService com.apple.WatchListViewService: WatchListViewService com.apple.webapp: Web com.apple.webapp1: WebApp1 com.apple.WebContentFilter.remoteUI.WebContentAnalysisUI: WebContentAnalysisUI com.apple.WebSheet: WebSheet com.apple.iad.iAdOptOut: iAd com.apple.CloudKit.ShareBear: iCloud
[2020-10-30 11:26:32][DEBUG] : Récupération de la liste des commandes 200
[2020-10-30 11:26:34][INFO] : Vérification du cron distant200 - Array
[2020-10-30 11:26:35][INFO] : Commande par SSH bash /var/root/jailed/check_cron.sh com.cron.maj_scripts_daily;bash /var/root/jailed/check_cron.sh com.cron.apt_update_weekly;bash /var/root/jailed/check_cron.sh com.cron.interval_jeedom; sur 192.168.1.86
[2020-10-30 11:26:35][INFO] : Durée du traitement d'envoi de commande : 1.333s
[2020-10-30 11:26:35][DEBUG] : Résultat du cron distant Scripts Not running but OK.
[2020-10-30 11:26:35][DEBUG] : Résultat du cron distant Paquets Not running but OK.
[2020-10-30 11:26:35][DEBUG] : Résultat du cron distant Commandes Not running but OK. ..
[2020-10-30 11:26:50][DEBUG] : Récupération de la liste des commandes 200
[2020-10-30 11:26:52][INFO] : Vérification du cron distant200 - Array
[2020-10-30 11:26:53][INFO] : Commande par SSH bash /var/root/jailed/check_cron.sh com.cron.maj_scripts_daily;bash /var/root/jailed/check_cron.sh com.cron.apt_update_weekly;bash /var/root/jailed/check_cron.sh com.cron.interval_jeedom; sur 192.168.1.86
[2020-10-30 11:26:54][INFO] : Durée du traitement d'envoi de commande : 1.429s
[2020-10-30 11:26:54][DEBUG] : Résultat du cron distant Scripts Not running but OK.
[2020-10-30 11:26:54][DEBUG] : Résultat du cron distant Paquets Not running but OK.
[2020-10-30 11:26:54][DEBUG] : Résultat du cron distant Commandes Not running but OK. ..
[2020-10-30 11:26:59][INFO] : Création du cron distant
[2020-10-30 11:27:00][DEBUG] : Récupération de la liste des commandes 200
[2020-10-30 11:27:01][INFO] : Commande par SSH bash /var/root/jailed/create_cron_plist.sh "bash $JAILED_DIR/current_page.sh#Application" "30"; echo $? sur 192.168.1.86
[2020-10-30 11:27:01][INFO] : Durée du traitement d'envoi de commande : 2.172s
[2020-10-30 11:27:01][DEBUG] : Résultat création du cron distant Scripts 0  .
[2020-10-30 11:27:02][INFO] : Vérification du cron distant200 - Array
[2020-10-30 11:27:02][INFO] : Commande par SSH bash /var/root/jailed/check_cron.sh com.cron.maj_scripts_daily;bash /var/root/jailed/check_cron.sh com.cron.apt_update_weekly;bash /var/root/jailed/check_cron.sh com.cron.interval_jeedom; sur 192.168.1.86
[2020-10-30 11:27:02][INFO] : Durée du traitement d'envoi de commande : 0.492s
[2020-10-30 11:27:02][DEBUG] : Résultat du cron distant Scripts Not running but OK.
[2020-10-30 11:27:02][DEBUG] : Résultat du cron distant Paquets Not running but OK.
[2020-10-30 11:27:02][DEBUG] : Résultat du cron distant Commandes Not running but OK. ..
[2020-10-30 11:27:04][DEBUG] : Récupération de la liste des commandes 200
[2020-10-30 11:27:06][INFO] : Vérification du cron distant200 - Array
[2020-10-30 11:27:07][INFO] : Commande par SSH bash /var/root/jailed/check_cron.sh com.cron.maj_scripts_daily;bash /var/root/jailed/check_cron.sh com.cron.apt_update_weekly;bash /var/root/jailed/check_cron.sh com.cron.interval_jeedom; sur 192.168.1.86
[2020-10-30 11:27:07][INFO] : Durée du traitement d'envoi de commande : 1.698s
[2020-10-30 11:27:07][DEBUG] : Résultat du cron distant Scripts Not running but OK.
[2020-10-30 11:27:07][DEBUG] : Résultat du cron distant Paquets Not running but OK.
[2020-10-30 11:27:07][DEBUG] : Résultat du cron distant Commandes Not running but OK. ..

Ca, ça veut dire que le cron est lancé et tourne en fond de tâche. Donc Ok pour moi.
Dans l’onglet Cron du menu Installation, tu peux cliquer sur récupérer log. Ensuite va dans le menu configuration et regarde le log Jailbreak_iPad_4_cron et envoie-le ici stp.

Je fais :

  • Installation / Onglet Cron / je clique sur « Log » de la ligne « Cron commandes personnalisable » ça m’indique « Log cron récupérée »
  • Dans le menu configuration, il n’y a pas le log relatif à Cron

cf image en PJ

Ok.

Si tu crées une commande info et que tu entres cat /var/root/jailed/debug.log, qu’as-tu dans le log Jailbreak ?

je me suis connecté en ssh sur l’ipad, je n’ai pas de debug.log

Voici le résultat de la commande, dans le log jailbreak :

[2020-10-31 15:15:36][DEBUG] : Affichage nom device = iPad 4
[2020-10-31 15:15:39][INFO] : Commande par SSH getapplist sur 192.168.1.86
[2020-10-31 15:15:39][INFO] : Commande par SSH getapplist sur 192.168.1.86
[2020-10-31 15:15:39][INFO] : Durée du traitement d'envoi de commande : 0.659s
[2020-10-31 15:15:39][DEBUG] : Liste des applications = eu.heinelt.ifile: iFile net.bitshuttle.kiosk.browser: Kiosk Browser com.apple.appleaccount.AACredentialRecoveryDialog: AACredentialRecoveryDialog org.tihmstar.h3lix: h3lix com.apple.AccountAuthenticationDialog: AccountAuthenticationDialog libactivator: Activator com.apple.AdSheetPhone: iAd com.apple.AppStore: App Store com.apple.AskPermissionUI: AskPermissionUI com.apple.camera: Appareil photo com.apple.CheckerBoard: CheckerBoard com.apple.CompassCalibrationViewService: CompassCalibrationViewService com.apple.MobileAddressBook: Contacts com.apple.CoreAuthUI: Authentification de l’utilisateur com.saurik.Cydia: Cydia com.apple.datadetectors.DDActionsService: DDActionsService com.apple.DataActivation: DataActivation com.apple.DemoApp: DemoApp com.apple.Diagnostics: Diagnostic com.apple.DiagnosticsService: DiagnosticsService com.apple.facetime: FaceTime com.apple.FacebookAccountMigrationDialog: FacebookAccountMigrationDialog com.apple.family: Family com.apple.appleseed.FeedbackAssistant: Feedback com.apple.fieldtest: FieldTest com.apple.mobileme.fmf1: Mes amis com.apple.mobileme.fmip1: Localiser com.apple.gamecenter.GameCenterUIService: Service UI de Game Center com.apple.Home: Maison com.apple.Home.HomeUIService: HomeUIService com.apple.InCallService: InCallService com.officialscheduler.mterminal: Terminal com.apple.Magnifier: Loupe com.apple.MailCompositionService: MailCompositionService com.apple.mobilesms.notification: MessagesNotificationViewService com.apple.mobilesms.compose: MessagesViewService com.apple.mobilecal: Calendrier com.apple.mobilenotes: Notes com.apple.MobileSMS: Messages com.apple.mobilesafari: Safari com.apple.mobileslideshow: Photos com.apple.mobiletimer: Horloge com.apple.MusicUIService: MusicUIService com.apple.news: News com.apple.Photo-Booth: Photo Booth com.apple.PhotosViewService: PhotosViewService com.apple.PreBoard: PreBoard com.apple.Preferences: Réglages com.apple.PrintKit.Print-Center: Impression com.matchstic.reprovision.ios: ReProvision com.apple.reminders: Rappels com.apple.social.SLGoogleAuth: SLGoogleAuth com.apple.social.SLYahooAuth: SLYahooAuth com.apple.SafariViewService: SafariViewService com.apple.ScreenSharingViewService: ScreenSharingViewService com.apple.ServerDocuments: Server Drive com.apple.purplebuddy: Configuration com.apple.SharedWebCredentialViewService: SharedWebCredentialViewService com.apple.SharingViewService: SharingViewService com.apple.SiriViewService: Siri com.apple.share: SocialUIService com.apple.susuiservice: SoftwareUpdateUIService com.apple.StoreDemoViewService: StoreDemoViewService com.apple.ios.StoreKitUIService: iTunes com.apple.TencentWeiboAccountMigrationDialog: TencentWeiboAccountMigrationDialog com.apple.TrustMe: TrustMe com.apple.VSViewService: VideoSubscriberAccountViewService com.apple.WatchListViewService: WatchListViewService com.apple.webapp: Web com.apple.webapp1: WebApp1 com.apple.WebContentFilter.remoteUI.WebContentAnalysisUI: WebContentAnalysisUI com.apple.WebSheet: WebSheet com.apple.iad.iAdOptOut: iAd com.apple.CloudKit.ShareBear: iCloud
[2020-10-31 15:15:39][INFO] : Durée du traitement d'envoi de commande : 0.671s
[2020-10-31 15:15:39][DEBUG] : Liste des applications = eu.heinelt.ifile: iFile net.bitshuttle.kiosk.browser: Kiosk Browser com.apple.appleaccount.AACredentialRecoveryDialog: AACredentialRecoveryDialog org.tihmstar.h3lix: h3lix com.apple.AccountAuthenticationDialog: AccountAuthenticationDialog libactivator: Activator com.apple.AdSheetPhone: iAd com.apple.AppStore: App Store com.apple.AskPermissionUI: AskPermissionUI com.apple.camera: Appareil photo com.apple.CheckerBoard: CheckerBoard com.apple.CompassCalibrationViewService: CompassCalibrationViewService com.apple.MobileAddressBook: Contacts com.apple.CoreAuthUI: Authentification de l’utilisateur com.saurik.Cydia: Cydia com.apple.datadetectors.DDActionsService: DDActionsService com.apple.DataActivation: DataActivation com.apple.DemoApp: DemoApp com.apple.Diagnostics: Diagnostic com.apple.DiagnosticsService: DiagnosticsService com.apple.facetime: FaceTime com.apple.FacebookAccountMigrationDialog: FacebookAccountMigrationDialog com.apple.family: Family com.apple.appleseed.FeedbackAssistant: Feedback com.apple.fieldtest: FieldTest com.apple.mobileme.fmf1: Mes amis com.apple.mobileme.fmip1: Localiser com.apple.gamecenter.GameCenterUIService: Service UI de Game Center com.apple.Home: Maison com.apple.Home.HomeUIService: HomeUIService com.apple.InCallService: InCallService com.officialscheduler.mterminal: Terminal com.apple.Magnifier: Loupe com.apple.MailCompositionService: MailCompositionService com.apple.mobilesms.notification: MessagesNotificationViewService com.apple.mobilesms.compose: MessagesViewService com.apple.mobilecal: Calendrier com.apple.mobilenotes: Notes com.apple.MobileSMS: Messages com.apple.mobilesafari: Safari com.apple.mobileslideshow: Photos com.apple.mobiletimer: Horloge com.apple.MusicUIService: MusicUIService com.apple.news: News com.apple.Photo-Booth: Photo Booth com.apple.PhotosViewService: PhotosViewService com.apple.PreBoard: PreBoard com.apple.Preferences: Réglages com.apple.PrintKit.Print-Center: Impression com.matchstic.reprovision.ios: ReProvision com.apple.reminders: Rappels com.apple.social.SLGoogleAuth: SLGoogleAuth com.apple.social.SLYahooAuth: SLYahooAuth com.apple.SafariViewService: SafariViewService com.apple.ScreenSharingViewService: ScreenSharingViewService com.apple.ServerDocuments: Server Drive com.apple.purplebuddy: Configuration com.apple.SharedWebCredentialViewService: SharedWebCredentialViewService com.apple.SharingViewService: SharingViewService com.apple.SiriViewService: Siri com.apple.share: SocialUIService com.apple.susuiservice: SoftwareUpdateUIService com.apple.StoreDemoViewService: StoreDemoViewService com.apple.ios.StoreKitUIService: iTunes com.apple.TencentWeiboAccountMigrationDialog: TencentWeiboAccountMigrationDialog com.apple.TrustMe: TrustMe com.apple.VSViewService: VideoSubscriberAccountViewService com.apple.WatchListViewService: WatchListViewService com.apple.webapp: Web com.apple.webapp1: WebApp1 com.apple.WebContentFilter.remoteUI.WebContentAnalysisUI: WebContentAnalysisUI com.apple.WebSheet: WebSheet com.apple.iad.iAdOptOut: iAd com.apple.CloudKit.ShareBear: iCloud
[2020-10-31 15:20:05][DEBUG] : DEBUGGG entrée :
[2020-10-31 15:20:07][DEBUG] : Equipement : iPad 4 cuisine Commande Application : bash jailed/current_page.sh Résultat : Kiosk Browser
[2020-10-31 15:20:07][DEBUG] : Equipement : iPad 4 cuisine Commande debug : cat /var/root/jailed/debug.log Résultat :
[2020-10-31 15:20:08][DEBUG] : Equipement : iPad 4 cuisine Commande estimatetime : ∞
[2020-10-31 15:20:08][DEBUG] : Equipement : iPad 4 cuisine Commande batterycapacity : 92.34
[2020-10-31 15:20:08][DEBUG] : Equipement : iPad 4 cuisine Commande batteryhealth : 88.51
[2020-10-31 15:20:08][DEBUG] : Equipement : iPad 4 cuisine Commande chargerpower : 1
[2020-10-31 15:20:08][DEBUG] : Equipement : iPad 4 cuisine Commande battery : 98
[2020-10-31 15:20:08][DEBUG] : Equipement : iPad 4 cuisine Commande uptime : 24 jour(s)  5h09
[2020-10-31 15:20:08][DEBUG] : Equipement : iPad 4 cuisine Commande loadav : 1.50 1.64 1.62
[2020-10-31 15:20:08][DEBUG] : Equipement : iPad 4 cuisine Commande hdd : 27G 23G 16%
[2020-10-31 15:20:08][DEBUG] : Equipement : iPad 4 cuisine Commande plugged_1 : AC Power
[2020-10-31 15:20:08][DEBUG] : Equipement : iPad 4 cuisine Commande lightsensor : 9.74
[2020-10-31 15:20:08][INFO] : Durée du traitement d'envoi des commandes GetInformation : 2.76s
[2020-10-31 15:20:08][INFO] : Durée globale du traitement des commandes GetInformation : 3.254s
[2020-10-31 15:25:04][DEBUG] : DEBUGGG entrée :
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande Application : bash jailed/current_page.sh Résultat : lockscreen
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande debug : cat /var/root/jailed/debug.log Résultat :
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande estimatetime : ∞
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande batterycapacity : 92.24
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande batteryhealth : 88.51
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande chargerpower : 1
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande battery : 98
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande uptime : 24 jour(s)  5h14
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande loadav : 1.69 1.69 1.64
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande hdd : 27G 23G 16%
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande plugged_1 : AC Power
[2020-10-31 15:25:08][DEBUG] : Equipement : iPad 4 cuisine Commande lightsensor : 9.37
[2020-10-31 15:25:08][INFO] : Durée du traitement d'envoi des commandes GetInformation : 4.01s
[2020-10-31 15:25:08][INFO] : Durée globale du traitement des commandes GetInformation : 4.323s

Merci.
Pas commode cet iPad ^^

En ssh tape ces commandes :

bash /var/root/jailed/log.sh "DEBUG" "test de log"
cat jailed/debug.log 

Copie les résultats.

Oui, il est capricieux :slight_smile:
Pour ça, nickel, j’écris bien dans le fichier :

iPad-de-Julien:~/jailed root# bash /var/root/jailed/log.sh "DEBUG" "test de log"
iPad-de-Julien:~/jailed root# cat /var/root/jailed/debug.log 
[2020-10-31 16:34:03][DEBUG] : test de log

OK, et cette commande :

cat /etc/cron/interval_jeedom.sh  | grep log

puis bash /etc/cron/interval_jeedom.sh -v

iPad-de-Julien:~/jailed root# cat /etc/cron/interval_jeedom.sh  | grep log
    bash $JAILED_DIR/log.sh "INFO" "Sending to jeedom: $NEW_RESULT to ${2}"
iPad-de-Julien:~/jailed root# bash /etc/cron/interval_jeedom.sh -v
0.12

Et :

cat /Library/LaunchDaemons/com.cron.interval.plist
iPad-de-Julien:~/jailed root# cat /Library/LaunchDaemons/com.cron.interval.plist
<?xml version="1.0" encoding="UTF-8"?>rary/LaunchDaemons/com.cron.interval.plist 
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
   <dict>
         <key>Label</key>
           <string>com.cron.interval_jeedom</string>
         <key>ProgramArguments</key>
           <array>
             <string>/etc/cron/interval_jeedom.sh</string>
           </array>
         <key>StartInterval</key>
             <integer>30</integer>
         <key>LowPriorityIO</key>
           <true/>
         <key>StandardErrorPath</key>
           <string>/dev/null</string>
         <key>StandardOutPath</key>
           <string>/dev/null</string>
   </dict>
 </plist>

Ah crois comprendre.

cat /etc/cron/interval_jeedom.sh | grep compare_then_send

en_send-Julien:~/jailed root# cat /etc/cron/interval_jeedom.sh | grep compare_th

function compare_then_send ()

compare_then_send « bash /current_page.sh » « Application »

Merci. J’ai vu l’erreur, je pousse un correctif.

ah super :slight_smile:

C’est lié au chemin qui tu utilises pour la commande : bash jailed/current_page.sh
Tape le chemin absolu : bash /var/root/jailed/current_page.sh, sauvegarde et recrée le cron.

Correction sur le market.
Mets à jour le plugin, et recrée le cron perso.

Edit : Erreur sur le git, je corrige.

Edit 2 : c’est en ligne

Merci on dirait bien que c’est OK :slight_smile:

Peux-tu me dire ou je peux vérifier qu’un cron personnalisé tourne bien ? même via une commande SSH ça m’ira bien, merci :wink:

Vérifie le log Jailbreak, toutes les 30 secondes, (si tu ouvres des App sur l’iPad) tu dois avoir une ligne commençant par ça :
Maj commande...

Si la page de l’iPad est identique, il n’y aura pas ce log.

Bonjour,

Je suis de retour avec un nouvel IPAD, mon IPAD 3 ayant rendu l’âme, je me suis trouver un IPAD AIR 1 (iOS 12.4.8). J’ai fait l’install, tout semble s’être bien passer mais pas grand chose ne fonctionne… Safari ne s’ouvre pas, unlock ne marche pas, les commandes perso non plus… La commande photo méthode 3 ouvre la caméra mais ne prends pas de photo. Je met mes logs.

########################################################
#        INSTALLATION DES PACKAGES/TWEAKS V.1.39       #
#      CPU: arm64 P_VERSION: 12.4.8 MODELE: iPad4,2       #
########################################################
dpkg: warning: package not in status nor available database at line 1: openssl
dpkg: warning: found unknown packages; this might mean the available database
is outdated, and needs to be updated through a frontend method;
please see the FAQ <https://wiki.debian.org/Teams/Dpkg/FAQ>
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Test paquet grep...
Paquet grep déjà installé
Test paquet sed...
Paquet sed déjà installé
Test paquet apt-get...
Paquet apt-get déjà installé
Test paquet wget...
Paquet wget déjà installé
Test paquet curl...
Paquet curl déjà installé
Test paquet dpkg...
Paquet dpkg déjà installé
Etape 1 : ## Gestion du fichier source.list
###########################################
Lecture fichier /tmp/sourcejeedom.list
# created by Flobul
# This file must be moved in $SOURCELIST_DIR
deb http://rpetri.ch/repo/ ./
deb https://udevsharold.github.io/repo/ ./
deb https://apt.xninja.xyz/ ./
deb https://flobul.github.io/repo/ ./
Lecture fichier /private/etc/apt/sources.list.d/cydia.list
deb https://apt.bingner.com/ ./
deb http://apt.thebigboss.org/repofiles/cydia/ stable main
deb http://cydia.zodttd.com/repo/cydia/ stable main
deb http://apt.modmyi.com/ stable main
deb https://repo.chariz.com/ ./
deb https://repo.dynastic.co/ ./
## Fichier source.list copié
Test paquet grep...
Paquet grep déjà installé
Test paquet sed...
Paquet sed déjà installé
Test paquet apt-get...
Paquet apt-get déjà installé
Test paquet wget...
Paquet wget déjà installé
Test paquet curl...
Paquet curl déjà installé
Test paquet dpkg...
Paquet dpkg déjà installé
Etape 2 : ## Vérification commande de base
###########################################
Etape 3 : ## Installation des paquets de base
###########################################
Ign:1 http://cydia.zodttd.com/repo/cydia stable InRelease
Ign:2 http://apt.modmyi.com stable InRelease
Ign:3 http://rpetri.ch/repo ./ InRelease
Hit:4 http://cydia.zodttd.com/repo/cydia stable Release
Hit:5 http://apt.modmyi.com stable Release
Ign:6 https://flobul.github.io/repo ./ InRelease
Get:7 http://cydia.zodttd.com/repo/cydia stable Release.gpg [181 B]
Get:8 http://apt.modmyi.com stable Release.gpg [181 B]
Ign:9 https://repo.chariz.com ./ InRelease
Ign:10 https://repo.dynastic.co ./ InRelease
Hit:11 http://rpetri.ch/repo ./ Release
Ign:12 https://udevsharold.github.io/repo ./ InRelease
Get:13 https://flobul.github.io/repo ./ Release [176 B]
Ign:14 http://rpetri.ch/repo ./ Release.gpg
Get:15 https://udevsharold.github.io/repo ./ Release [150 B]
Ign:16 https://apt.xninja.xyz ./ InRelease
Ign:17 https://flobul.github.io/repo ./ Release.gpg
Get:18 https://repo.dynastic.co ./ Release [214 B]
Hit:19 https://repo.chariz.com ./ Release
Ign:20 https://udevsharold.github.io/repo ./ Release.gpg
Ign:21 https://flobul.github.io/repo ./ Packages
Ign:22 http://apt.thebigboss.org/repofiles/cydia stable InRelease
Get:23 https://repo.chariz.com ./ Release.gpg [833 B]
Ign:24 https://repo.dynastic.co ./ Release.gpg
Ign:25 https://udevsharold.github.io/repo ./ Packages
Get:21 https://flobul.github.io/repo ./ Packages [2226 B]
Ign:26 https://repo.dynastic.co ./ Packages
Hit:27 https://apt.xninja.xyz ./ Release
Get:25 https://udevsharold.github.io/repo ./ Packages [18.1 kB]
Get:26 https://repo.dynastic.co ./ Packages [28.9 kB]
Ign:28 https://apt.xninja.xyz ./ Release.gpg
Get:29 http://apt.thebigboss.org/repofiles/cydia stable Release [614 B]
Get:30 https://apt.bingner.com ./ InRelease [701 B]
Ign:31 https://apt.xninja.xyz ./ Packages
Ign:31 https://apt.xninja.xyz ./ Packages
Ign:31 https://apt.xninja.xyz ./ Packages
Get:32 http://apt.thebigboss.org/repofiles/cydia stable Release.gpg [181 B]
Get:31 https://apt.xninja.xyz ./ Packages [5951 B]
Get:33 http://apt.thebigboss.org/repofiles/cydia stable/main iphoneos-arm Packages [1275 kB]
Fetched 1334 kB in 19s (70.9 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
apt is already the newest version (1.8.2-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
adv-cmds is already the newest version (119-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
coreutils is already the newest version (8.31-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (7.65.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
gawk is already the newest version (4.2.1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (2.20.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
grep is already the newest version (3.1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
sed is already the newest version (4.5-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
system-cmds is already the newest version (790.30.1-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
top is already the newest version (39-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
unrar is already the newest version (5.6.4-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
unzip is already the newest version (6.0+deb9u1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
uikittools is already the newest version (1.1.17-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
wget is already the newest version (1.20.3-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Etape 4 : ## Installation des paquets génériques
###########################################
Installation paquet com.dayt0n.sshlock...
Reading package lists...
Building dependency tree...
Reading state information...
com.dayt0n.sshlock is already the newest version (1.0.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet com.conradkramer.open...
Reading package lists...
Building dependency tree...
Reading state information...
com.conradkramer.open is already the newest version (1.1.1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet libactivator...
Reading package lists...
Building dependency tree...
Reading state information...
libactivator is already the newest version (1.9.13).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet xyz.xninja.systeminfo...
Reading package lists...
Building dependency tree...
Reading state information...
xyz.xninja.systeminfo is already the newest version (2.7.2-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet org.thebigboss.camshot...
Reading package lists...
Building dependency tree...
Reading state information...
org.thebigboss.camshot is already the newest version (1.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet com.a3tweaks.flipswitch...
Reading package lists...
Building dependency tree...
Reading state information...
com.a3tweaks.flipswitch is already the newest version (1.0.16).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet com.flobul.say...
Reading package lists...
Building dependency tree...
Reading state information...
com.flobul.say is already the newest version (0.2.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet com.flobul.batterydata...
Reading package lists...
Building dependency tree...
Reading state information...
com.flobul.batterydata is already the newest version (0.1.0-3+debug).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet com.flobul.lightsensor...
Reading package lists...
Building dependency tree...
Reading state information...
com.flobul.lightsensor is already the newest version (0.1.0-1+debug).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet com.flobul.sensors...
Reading package lists...
Building dependency tree...
Reading state information...
com.flobul.sensors is already the newest version (0.1.0-2+debug).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet com.flobul.smsme...
Reading package lists...
Building dependency tree...
Reading state information...
com.flobul.smsme is already the newest version (0.1.0-1+debug).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet com.flobul.gpsloc...
Reading package lists...
Building dependency tree...
Reading state information...
com.flobul.gpsloc is already the newest version (1.0-1+debug).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet com.flobul.notifyme...
Reading package lists...
Building dependency tree...
Reading state information...
com.flobul.notifyme is already the newest version (0.1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet com.flobul.publicationme...
Reading package lists...
Building dependency tree...
Reading state information...
com.flobul.publicationme is already the newest version (0.1.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation paquet com.julioverne.cmdsapp...
Reading package lists...
Building dependency tree...
Reading state information...
com.julioverne.cmdsapp is already the newest version (0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Etape 5 : ## Installation des paquets maison
###########################################
Test paquet batterydata...
Paquet batterydata déjà installé
Paquet batterydata déjà installé
Installation du paquet sensors
Test paquet sensors...
Paquet sensors déjà installé
Paquet sensors déjà installé
Dernière version déjà installée : 0.1.0
Installation du paquet lightsensor
Test paquet lightsensor...
Paquet lightsensor déjà installé
Paquet lightsensor déjà installé
Dernière version déjà installée : 0.1.0
Installation du paquet say
Test paquet say...
Paquet say déjà installé
Paquet say déjà installé
Dernière version déjà installée : 0.2.1
Installation du paquet gpsloc
Test paquet gpsloc...
Paquet gpsloc déjà installé
Paquet gpsloc déjà installé
Versions différentes : 1.0 != 1.0.1
(Reading database ... 2884 files and directories currently installed.)
Preparing to unpack .../com.flobul.gpsloc_1.0.1_iphoneos-arm.deb ...
Unpacking com.flobul.gpsloc (1.0-1+debug) over (1.0-1+debug) ...
Setting up com.flobul.gpsloc (1.0-1+debug) ...
Test paquet gpsloc...
Paquet gpsloc déjà installé
Commande gpsloc installée via dpkg.
Installation du paquet smsme
Test paquet smsme...
Paquet smsme déjà installé
Paquet smsme déjà installé
Dernière version déjà installée : 0.1.0
Installation du paquet publicationme
Test paquet publicationme...
Paquet publicationme déjà installé
Paquet publicationme déjà installé
Dernière version déjà installée : 0.1.0
Installation du paquet notifyme
Test paquet notifyme...
Paquet notifyme déjà installé
Paquet notifyme déjà installé
Dernière version déjà installée : 0.1.1
########################################################
#                INSTALLATION TERMINÉE                 #
########################################################
dpkg: warning: package not in status nor available database at line 1: openssl
dpkg: warning: found unknown packages; this might mean the available database
is outdated, and needs to be updated through a frontend method;
please see the FAQ <https://wiki.debian.org/Teams/Dpkg/FAQ>
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Etape 6 : ## Vérification des paquets installés
###########################################
--------------------------------------
| Commande         | Existe   | Test |
-------------------|----------|------|
| activator        | OUI      | OK   |
| apt              | OUI      | OK   |
| apt-get          | OUI      | OK   |
| awk              | OUI      | OK   |
| batterydata      | OUI      | OK   |
| camshot          | OUI      | OK   |
| cfversion        | OUI      | OK   |
| curl             | OUI      | OK   |
| cut              | OUI      | OK   |
| dpkg             | OUI      | OK   |
| dpkg-deb         | OUI      | OK   |
| getapplist       | OUI      | OK   |
| getappdir        | OUI      | OK   |
| grep             | OUI      | OK   |
| git              | OUI      | OK   |
| gssc             | OUI      | OK   |
| gpsloc           | OUI      | OK   |
| head             | OUI      | OK   |
| hostinfo         | OUI      | OK   |
| id               | OUI      | OK   |
| lightsensor      | OUI      | OK   |
| notifyme         | OUI      | OK   |
| open             | OUI      | OK   |
| publicationme    | OUI      | OK   |
| say              | OUI      | OK   |
| sed              | OUI      | OK   |
| sensors          | OUI      | OK   |
| smsme            | OUI      | OK   |
| sw_vers          | OUI      | OK   |
| switch           | OUI      | OK   |
| sysctl           | OUI      | OK   |
| uname            | OUI      | OK   |
| wc               | OUI      | OK   |
| wget             | OUI      | OK   |
--------------------------------------