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
I have a file (*.txt) generated for the PLSQL package. I have to send the file to a location
using unix commands.
how do i do that.
using unix commands.
how do i do that.
Related:
- UNIX SCRIPT FOR AUTOMATION
- Convert dos to unix - Guide
- Script file not found platform.resv - Windows 7 Forum
- Windows Script Host ✓ - Windows 10 Forum
- Ubuntu shutdown script - Guide
- Cannot find script file startupcheck.vbs - Viruses & Security Forum
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.