The suggestions were meant to be placed in the crontab, but that doesn't matter anymore, since the problem has been discovered:
/home/myuser/.Private on /home/myuser type ecryptfs (ecryptfs_check_de +v_ruid,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs +,ecryptfs_sig=cdf62344e76957d1,ecryptfs_fnek_sig=88d715cd172f27b9)
Yes, the home directory is encrypted, so it is not available when the user isn't logged in. One solution is to drop the scripts in a non-encrypted location (/opt or /usr/local or whatever suits your system) outside of the home directory and it'll work.
$ sudo mkdir /opt/myscripts $ sudo chown myuser:myuser /opt/myscripts # put scripts in /opt/myscripts
In reply to Re^8: Crontab "Can't open perl script", " No such file or directory"
by Anonymous Monk
in thread Crontab "Can't open perl script", " No such file or directory"
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |