Why script runs on terminal but does not run when scheduled as cron job?
Issue
- Why
scriptruns on terminal but does not run when scheduled through cron? - Why
scriptdoes not execute through cron? PATHvariable in script for cron job is set as follows :
PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/root/bin
Environment
- Red Hat Enterprise Linux
- Cronie
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
