Acabo de mudarme a un nuevo MacBook con El Capitán y estoy intentando configurar mi crontab para hacer tareas de copia de seguridad. Aquí es cómo lo tengo configurado (a través de crontab -e
)
40 7 * * * /Users/myusername/daily.sh "daily tasks run 7:40a"
Daily.sh tiene el siguiente aspecto
open -b com.apple.terminal ~/backupThing1.sh
open -b com.apple.terminal ~/dailyThing2.sh
Lo tengo configurado así para ver los terminales que salen y poder responder a algunas entradas y peticiones de contraseña.
De todos modos, esta tarea falla con los siguientes mensajes:
LSOpenURLsWithRole() failed for the application /Applications/Utilities/Terminal.app with error -600 for the file /Users/myusername/backupThing1.sh.
LSOpenURLsWithRole() failed for the application /Applications/Utilities/Terminal.app with error -600 for the file /Users/myusername/dailyThing1.sh.
He comprobado que estos scripts son propiedad de myusername
y son ejecutables. ¿Qué me falta?