We have numerous AIX boxes (7043-140, 7043-150, and 7044-170). We have recently downloaded a modified user application to these systems, and as a result needed to put a new root cron into place with minor changes. Each system, in addition to running a root cron, also runs 2 user crons. Each of these systems reboots overnight, and when the new root cron is moved into place (prior to system reboot) the root cron and the 2 user crons run. After the system reboots only the root cron runs; the user crons do not kick-off. If we put the original root cron back in place (the modified application remains), the user crons begin working again.
The change made to the root cron involves su'ing to a user to execute a script. In the original root cron we su'ed to a user by name ( su - name) because each system had the same user. Now we su to a user variable (su - $variable) because this user is unique on each system.
Any ideas as to what may be causing the user crons to stop?
The change made to the root cron involves su'ing to a user to execute a script. In the original root cron we su'ed to a user by name ( su - name) because each system had the same user. Now we su to a user variable (su - $variable) because this user is unique on each system.
Any ideas as to what may be causing the user crons to stop?