|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Python script not working in batch process
Good morning, I have a python 2.3 script that runs stand alone as intended when tested, then it was put into a ksh script. when running the ksh script it runs as intended. The problem is that my script does not run when the ksh script is called by another user who runs a batch process (as of right now I do not know the specifics of this batch process) which calls the ksh script, which should call my python script. I have tried changing owner ship of my python script to the user that will be running the batch script and also gave 777 permissions to the script in hopes that would help. I am new to unix and python altogether so any input would be much appreciated. In case the internals of my script are relevant, my script does:
1. checks a directory for files 2. goes through these files and checks for a certain pattern and counts hits 3. create a file that saves the name of the file that contains matches to this pattern and how many hits were found 4. FTP the created file and all files containing hits to another machine. my script uses an external command 'openssl' for decrypting the other machines login info. Thanks in advance. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My Script For Process Checking is NOT Working | rymnd_12345 | Shell Programming and Scripting | 8 | 04-24-2012 09:34 AM |
| Script in python to kill process by date | doudoubens | Shell Programming and Scripting | 0 | 04-11-2012 05:46 PM |
| Executing a batch of files within a shell script with option to refire the individual files in batch | goddevil | Shell Programming and Scripting | 2 | 01-09-2012 02:51 PM |
| Help with shell script to batch process files in a directory | Cannoli | Shell Programming and Scripting | 3 | 11-01-2009 12:57 PM |
| User Prompt during batch script process | bond007jlv | Shell Programming and Scripting | 2 | 11-30-2006 02:12 PM |
|
|