On my MX-18 linux (Debian 9 Stretch based) system, whenever a script runs via cron, my Private ecryptfs volume unmounts.
Confirmed, no issue running the same BASH scripts from a terminal. Tested with two different scripts. The crontab is set up with crontab -e from my standard user account.
Can't find anything on the web about this.