[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Using condor_submit from php



That worked, but instead of using chdir I just moved the condor submit file and program to htdocs and allowed read access. Now the program just sits in queue being held:


 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD
 154.0   daemon          6/20 14:37   0+00:00:00 H  0   9.8  gill1 /usr/local/apache2/htdocs/condor

any ideas?

~Paul

On Wed, 20 Jun 2007 11:41:11 -0700 adamc@xxxxxxxxxxxxxx, Condor-Users Mail List wrote:
i  had a WWW/php based condor interface a few years ago..i vaguely remember that i had to
chdir in to the directory which contained the actual .sub file just before php executed the shell command...

i'll look at my code when i get home to make sure...


PAUL PHILIP TRIPP wrote:
Hello,

I am trying to use condor_submit in a php script using system('/home/condor/condor-6.8.4/bin/condor_submit /home/condor/Desktop/gil/gill1.condor')

Using the command normally runs the program fine. Using the command through php returns "Submitting job(s)", but the program never appears in condor_q or condor_history, but the ID number in the condor_history is incremented.

Anyone have an ideas why running condor through php is causing so much trouble?

~Paul

_______________________________________________ Condor-users mailing list To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a subject: Unsubscribe You can also unsubscribe by visiting https://lists.cs.wisc.edu/mailman/listinfo/condor-users The archives can be found at: https://lists.cs.wisc.edu/archive/condor-users/


-- 
-------------------------------------------------
http://www.climatecrisis.net/takeaction/whatyoucando/
----------------------------------------------------
Adam Chrystie
adamc@xxxxxxxxxxxxxx
Infrastructure / Pipeline Supervisor on "Terra"

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at: 
https://lists.cs.wisc.edu/archive/condor-users/