We have jobs which run under different user accounts. When setting ulimits in /etc/auto.profile it will be in effect for all the jobs running via AUTOSYS regardless of the user account. We would like to run these jobs with the user's specified ulimit rather than a single ulimit entry defined in the /etc/auto.profile for all users and jobs.
You may add the following lines in /etc/auto.profile:
ID='whoami' export ID case $ID in user1) ulimit -n 2000 ;; user2) ulimit -n 4000 ;; esac
Release: ATSY1C99000-4.5-AutoSys-Job Management-Class 1 Remote Agent