UNIX SCRIPT FOR AUTOMATION
Closed
Sri
-
May 3, 2010 at 01:51 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - May 4, 2010 at 08:20 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - May 4, 2010 at 08:20 AM
Related:
- UNIX SCRIPT FOR AUTOMATION
- Dos to unix - Guide
- Anu script manager 7.0 free download filehippo ✓ - Excel Forum
- Script - Software Forum
- Unix online terminal - Linux/Unix Forum
- Ubuntu shutdown script - Guide
3 responses
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
May 3, 2010 at 10:29 PM
May 3, 2010 at 10:29 PM
use mv to move the file or cp to copy the file
The package i run, produces a file every time its run and the package is scheduled to run daily. and daily a file is produced and i need to write a unix script to move the file every time.
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
May 4, 2010 at 08:20 AM
May 4, 2010 at 08:20 AM
I think for that you would need a cronjob to move the file. You would first write your output file and once the package is done with it, have it write a flag file. Let the cron look for that flag file and if present, move the the file to the location and delete the flag file.
Alternatively have the package write to the location of you choice.
Alternatively have the package write to the location of you choice.