User Profile

Collapse

Profile Sidebar

Collapse
gintrado
gintrado
Last Activity: Apr 30 '10, 06:37 PM
Joined: Mar 29 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Issue with crontab running a python script within a python script

    bvdet, thanks for the help. I think I found the problem and it is with crontab and python. I have a python script called scanner.py which I start from the command line and it runs all the time.
    Command: nohup python /home/dev/scanner.py password > /tmp/file.log 2>&1 &

    Occassionally, the process stops. For that I have another...
    See more | Go to post

    Leave a comment:


  • How to run a python.py script from another python script

    I am very new to Python I'm trying to run a python script from within another python script. I can run the script from a unix command line by typing: nohup python script.py password > /tmp/outfile.log 2>&1 & Or, I can put that command in a shell script and run it by typing: ./script.sh Both work great. However I don't know how to put either the command or the shell script in a python.py script and get it to run from there. ...
    See more | Go to post
No activity results to display
Show More
Working...