
Submit jobs to the Sun Grid Engine (tm, probably), and check on the status of the engine. You should not use this method directly, rather you should use the Schedule::SGE method that inherits from this, then all the methods herein are available to you.

Rob Edwards (rob@salmonella.org) 3/24/05
Get or set the command that will be queued to by run
Run the command and return the queue id number.
The queue number is the location of the job in the queue, and you can cehck on that with queue_status
Get and set the environment variables for Schedule::SGE. The variables that we need to care about are, and the default variables for my system are: SGE_CELL orionmulti SGE_EXECD_PORT 537 SGE_QMASTER_PORT 536 SGE_ROOT /opt/sge
my $hashref=$sge->environment(\%vars);
Get or set the name of the job used by Schedule::SGE.
Get or set the project used by Schedule::SGE.
Get or set the filename that will be used for the STDOUT
Get or set the filename that will be used for the STDERR
Boolean whether to set the cwd directory. NOTE: By default this is set to true, and you have to turn it off if you don't want it.
Get or set whether the notify flag is set
Email address to send the notify mail to
The ID of the job that is submitted. This is only available after the command has begun, and is the ID of your job in the queue. Returns false if the job has not been executed or there was an error with the execution.
An internal method to execute the command
Die nicely, with some kind of warning