autosys expand file name

来源:互联网 发布:从icloud怎么恢复数据 编辑:程序博客网 时间:2024/06/06 02:49

You can use a your profile to create a path variable that will equal /export/opt/xxxftp/trustee/virtus

so that this:       watch_file: /export/opt/xxxftp/trustee/virtus/virt_xxx_daily_accruals_export_`date +%m%d%Y`.csv

becomes:          watch_file: $VIRTUSDIR/virt_xxx_daily_accruals_export_`date +%m%d%Y`.csv

                        profile: /export/opt/xxxftp/trustee/virtus/variable.profile

 

variable.profile contents

VIRTUSDIR=/export/opt/xxxftp/trustee/virtus