How to troubleshoot errors in cron managed BASH scripts?
Issue
- A
BASH
script that completes when run interactively fails when executed bycron
BASH
script incron
job fails but completes when run in alogin shell
Environment
- Red Hat Enterprise Linux (RHEL)
cron
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.