Score:0

Cron Job Shell Backup file: Permission Failed

af flag

Ive been trying to create a Cron Job to Ultimatly back up the Data within my Public Html File

backup-JMORetail.sh Code

#!/bin/sh
NOW=$(date +'%Y.%m.%d')

tar cfz /home/jmoretai/Back-Ups_Local/TempLocalBack-UpDir/back-up_JMORetail.Com_$NOW.tar.gz /home/jmoretai/public_html

Errors

/usr/local/cpanel/bin/jailshell: /home/jmoretai/Back-Ups_Local/backup-JMORetail.sh: Permission denied

diya avatar
la flag
The error mentioning `..../CPANEL/bin/....` raises alarm bells. - Questions involving web hosting control panels are off-topic because [they customize their systems so that standard system administration methods no longer apply](https://meta.serverfault.com/questions/8055/) . Some related topics may be asked on Webmasters SE or see [Where can I ask questions about web hosting control panels?](https://meta.serverfault.com/questions/8094) - You may need to do something CPANEL specific
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.