Note that there are some explanatory texts on larger screens.

plurals
  1. POPython Script Not Working Via Cron?
    primarykey
    data
    text
    <p>I have a python script that runs another python script. that 'other script' (script being run) takes ~ 45[min] to complete.</p> <p>When the 'execution' script is run from Ubuntu's shell, it all works perfectly. </p> <p>I added an entry to cron to run the 'execution' python script. It seems to run at first, but the program is terminated after a few seconds:</p> <hr> <pre><code>user@internet:~/REMOTE_CONTROL$ ps aux | grep python user 1603 0.0 1.4 31504 15184 ? S 22:50 0:00 python /usr/share/system-config-printer/applet.py root 1714 0.0 0.7 13672 8012 ? S 22:51 0:00 /usr/bin/python /usr/lib/system-service/system-service-d **user 7956 109 1.0 14380 10692 ? R 23:48 0:01 python /media/READ_ONLY/DEVELOPER/COMPOSITE/CURRENT/DataLoader.py** user 8029 0.0 0.0 3320 788 pts/1 S+ 23:48 0:00 grep --color=auto python user@internet:~/REMOTE_CONTROL$ ps aux | grep python user 1603 0.0 1.4 31504 15184 ? S 22:50 0:00 python /usr/share/system-config-printer/applet.py root 1714 0.0 0.7 13672 8012 ? S 22:51 0:00 /usr/bin/python /usr/lib/system-service/system-service-d **user 7956 100 1.1 15448 11900 ? R 23:48 0:07 python /media/READ_ONLY/DEVELOPER/COMPOSITE/CURRENT/DataLoader.py** user 8033 0.0 0.0 3320 788 pts/1 S+ 23:48 0:00 grep --color=auto python user@internet:~/REMOTE_CONTROL$ ps aux | grep python user 1603 0.0 1.4 31504 15184 ? S 22:50 0:00 python /usr/share/system-config-printer/applet.py root 1714 0.0 0.7 13672 8012 ? S 22:51 0:00 /usr/bin/python /usr/lib/system-service/system-service-d **user 7956 97.2 1.2 15992 12412 ? R 23:48 0:11 python /media/READ_ONLY/DEVELOPER/COMPOSITE/CURRENT/DataLoader.py** user 8035 0.0 0.0 3320 792 pts/1 S+ 23:48 0:00 grep --color=auto python user@internet:~/REMOTE_CONTROL$ ps aux | grep python user 1603 0.0 1.4 31504 15184 ? S 22:50 0:00 python /usr/share/system-config-printer/applet.py root 1714 0.0 0.7 13672 8012 ? S 22:51 0:00 /usr/bin/python /usr/lib/system-service/system-service-d user 8037 0.0 0.0 3320 792 pts/1 S+ 23:48 0:00 grep --color=auto python </code></pre> <hr> <p>any idea what I might be missing? I tried to replace the script that is being triggered by the 'execution' script, and have it call a simple script that just does the following:</p> <pre><code>while(1): ....print "hi" </code></pre> <p>and it still does not work.</p> <p>Any ideas? thanks.</p> <p>(I am using Ubuntu 10.04 LTS)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload