summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* adding a link to create a job.HEADmasterPreston Cody2008-02-181-0/+3
| | | | svn path=/trunk/; revision=361
*-. adding in the new perl client/server into trunk.Preston Cody2008-02-177-0/+977
|\ \ | | | | | | | | | svn path=/trunk/; revision=360
| | * trying to get this a bit more workable.Preston Cody2008-02-171-4/+4
| | | | | | | | | | | | svn path=/branches/new-fu/; revision=358
| | * removing some comments. small other touchups.Preston Cody2008-02-171-15/+3
| | | | | | | | | | | | svn path=/branches/new-fu/; revision=357
| | * let's actually run the jobs we get...untestedAndrew Gaffney2008-01-121-3/+26
| | | | | | | | | | | | svn path=/branches/new-fu/; revision=350
| | * use proper form for send_command()Andrew Gaffney2008-01-121-2/+2
| |/ | | | | | | svn path=/branches/new-fu/; revision=349
| * test script for Scire::JobAndrew Gaffney2008-01-081-0/+26
| | | | | | | | svn path=/branches/new-fu/; revision=345
| * basic support for sending both stdout and stderrAndrew Gaffney2008-01-071-5/+5
| | | | | | | | svn path=/branches/new-fu/; revision=344
| * attempt to add the recurring job rescheduling into the server.Preston Cody2008-01-071-1/+36
| | | | | | | | | | | | not tested. svn path=/branches/new-fu/; revision=343
| * handle a non-zero exitcode from the communicatorAndrew Gaffney2008-01-071-0/+9
| | | | | | | | svn path=/branches/new-fu/; revision=342
| * write out script_data to fileAndrew Gaffney2008-01-072-18/+34
| | | | | | | | | | | | | | | | determine UID/GID of run_as user beforehand so we can change the owner of the script we just wrote exec the script we wrote out instead of dummy commands add set_script_file() function svn path=/branches/new-fu/; revision=341
| * exit with -2 if run_as user can't be foundAndrew Gaffney2008-01-061-3/+4
| | | | | | | | | | | | always try to get exitstatus svn path=/branches/new-fu/; revision=340
| * check proper variable after forkingAndrew Gaffney2008-01-061-2/+15
| | | | | | | | | | | | add code to setuid() before job execution svn path=/branches/new-fu/; revision=339
| * add in exec() callAndrew Gaffney2008-01-061-1/+3
| | | | | | | | svn path=/branches/new-fu/; revision=337
| * remove unneeded moduleAndrew Gaffney2008-01-061-3/+0
| | | | | | | | svn path=/branches/new-fu/; revision=336
| * move Scire.pm to Scire/Job.pm and fix scireclient.pm to use the new pathsAndrew Gaffney2008-01-062-1/+2
| | | | | | | | svn path=/branches/new-fu/; revision=335
| * break out the Communicator code.Preston Cody2008-01-062-88/+89
| | | | | | | | svn path=/branches/new-fu/; revision=334
| * fill out run() a bit moreAndrew Gaffney2008-01-061-1/+45
| | | | | | | | svn path=/branches/new-fu/; revision=333
| * add stub for run()Andrew Gaffney2008-01-061-0/+5
| | | | | | | | svn path=/branches/new-fu/; revision=332
| * condense check_job_dir() with a loopAndrew Gaffney2008-01-061-19/+8
| | | | | | | | svn path=/branches/new-fu/; revision=331
| * move code that talks to server into talk_to_server(), which forks before ↵Andrew Gaffney2008-01-052-20/+46
| | | | | | | | | | | | doing its thing in order to drop privileges svn path=/branches/new-fu/; revision=330
| * change set_filename() to load_jobfile()Andrew Gaffney2008-01-051-2/+2
| | | | | | | | svn path=/branches/new-fu/; revision=329
| * only import open2 from IPC::Open2Andrew Gaffney2008-01-051-1/+1
| | | | | | | | svn path=/branches/new-fu/; revision=328
| * whole bunch of updates here.Preston Cody2008-01-051-63/+87
| | | | | | | | | | | | | | | | | | | | | | first, created run_query and put the process of debug/prepare/execute into it. much simpler and cleaner! added RETURN_JOBFILE cmd and stub for JOBFILE_SENT. add a check to set_job_status to see if we're marking a job as finished. if so, it needs to do some more work. that part isn't coded yet. svn path=/branches/new-fu/; revision=327
| * move SERVER_STDIN and SERVER_STDOUT inside the class hashAndrew Gaffney2008-01-051-11/+8
| | | | | | | | svn path=/branches/new-fu/; revision=326
| * don't need SERVER_STDIN and SERVER_STDOUT hereAndrew Gaffney2008-01-051-1/+0
| | | | | | | | svn path=/branches/new-fu/; revision=325
| * move bits of the server communication into Scire.pmAndrew Gaffney2008-01-052-71/+97
| | | | | | | | svn path=/branches/new-fu/; revision=324
| * set Data::Dumper::Purity to 1 for nested dataAndrew Gaffney2008-01-051-0/+1
| | | | | | | | svn path=/branches/new-fu/; revision=323
| * switch back to Data::Dumper for job outputAndrew Gaffney2008-01-051-3/+2
| | | | | | | | svn path=/branches/new-fu/; revision=322
| * don't stick 'script' in the hashAndrew Gaffney2008-01-051-1/+1
| | | | | | | | svn path=/branches/new-fu/; revision=321
| * initial commit of Scire.pmAndrew Gaffney2008-01-051-0/+37
| | | | | | | | svn path=/branches/new-fu/; revision=320
| * fixed up the expansion w/ one last query.Preston Cody2008-01-051-12/+21
| | | | | | | | svn path=/branches/new-fu/; revision=318
| * adding job expansion code.Preston Cody2008-01-031-5/+100
| | | | | | | | svn path=/branches/new-fu/; revision=317
| * remove the jobfile once it's been successfully sent to the client.Preston Cody2008-01-021-0/+3
| | | | | | | | svn path=/branches/new-fu/; revision=316
| * fix parse_response() regex to ignore trailing whitespaceAndrew Gaffney2008-01-021-1/+1
| | | | | | | | svn path=/branches/new-fu/; revision=315
| * updating this. minor fixes.Preston Cody2008-01-021-19/+58
| | | | | | | | | | | | adding job_fetched code. svn path=/branches/new-fu/; revision=314
| * fixin up get_jobs a bit.Preston Cody2008-01-021-11/+18
| | | | | | | | svn path=/branches/new-fu/; revision=313
| * return job filename and print itAndrew Gaffney2008-01-021-3/+3
| | | | | | | | svn path=/branches/new-fu/; revision=312
| * fixed get_jobs.Preston Cody2008-01-021-14/+30
| | | | | | | | | | | | | | coded get_job. but there seems to be a problem with it. commented out most of it for now, still doesn't work. svn path=/branches/new-fu/; revision=311
| * add debug to response linePreston Cody2008-01-021-7/+20
| | | | | | | | | | | | | | added other paths to check_job_dir fixed up get_job a bit. svn path=/branches/new-fu/; revision=310
| * add status_id param to get_jobs()Andrew Gaffney2008-01-011-1/+2
| | | | | | | | svn path=/branches/new-fu/; revision=306
| * fully implement get_jobsAndrew Gaffney2008-01-011-10/+10
| | | | | | | | svn path=/branches/new-fu/; revision=305
| * modify get_jobs query to make sure to get the latest job_history entry for ↵Andrew Gaffney2008-01-011-1/+1
| | | | | | | | | | | | the job svn path=/branches/new-fu/; revision=304
| * chomp the line read from client_keyAndrew Gaffney2008-01-011-3/+2
| | | | | | | | svn path=/branches/new-fu/; revision=303
| * switch config location to /etc/scire/Andrew Gaffney2007-12-312-2/+13
| | | | | | | | | | | | add config defaults to scireclient svn path=/branches/new-fu/; revision=301
| * switching on the database lines.Preston Cody2007-12-311-33/+47
| | | | | | | | | | | | | | | | major fixes to register and identify code. uses a md5sum of the time+mac+ip+hostname svn path=/branches/new-fu/; revision=300
| * fixing up registering and identifying code.Preston Cody2007-12-311-11/+13
| | | | | | | | svn path=/branches/new-fu/; revision=299
| * remove dead codeAndrew Gaffney2007-12-311-7/+3
| | | | | | | | | | | | add a few extra options to the ssh invocation svn path=/branches/new-fu/; revision=298
| * add Id tag properlyAndrew Gaffney2007-12-311-1/+1
| | | | | | | | svn path=/branches/new-fu/; revision=295
| * add Id tagAndrew Gaffney2007-12-311-0/+2
| | | | | | | | svn path=/branches/new-fu/; revision=294