rvp The script produces an output. I made the following dummy weekly.local (based on my daily.local that works) and I saw nothing in the output.
#!/bin/sh -
# Variables
TMPMESSAGE=$(mktemp)
echo "===== CECI EST UN TEST =====" > ${TMPMESSAGE}
echo "[+] Est-ce que le test est reussi ?" >> ${TMPMESSAGE}
echo "===== FIN DU TEST =====" >> ${TMPMESSAGE}
cat ${TMPMESSAGE}
rm -f ${TMPMESSAGE}
exit 0
I probably do something wrong but I can not figure out what.