![]() |
AliPhysics
31210d0 (31210d0)
|
Script to watch master jobs and automatically submit terminate jobs. More...
#include <TString.h>
#include <TGrid.h>
#include <TSystem.h>
#include <TObjArray.h>
#include <iostream>
#include <fstream>
#include <TError.h>
#include <TDatime.h>
#include <TEnv.h>
#include <TArrayI.h>
Go to the source code of this file.
Functions | |
TString | CacheFileName (const TString &name, const TString &ext, Bool_t merge=false) |
Bool_t | CheckCacheFile (const TString &name, const TString &ext, Bool_t merge=false) |
void | RemoveCacheFile (const TString &name, const TString &ext, Bool_t merge=false) |
TObjArray * | ReadCacheFile (const TString &name, const TString &ext, bool merge=false) |
TObjArray * | ReadJobIDs (const TString &name, bool merge=false) |
TObjArray * | ReadStages (const TString &name, bool merge=false) |
Bool_t | ParseJobIDs (const TObjArray *jobIds, TArrayI &ret) |
Bool_t | ParseState (const TString &status, TString &out) |
Bool_t | GridPs (TString &tmp) |
Bool_t | GetJobState (Int_t jobId, TString &out) |
Bool_t | GetJobStates (const TArrayI &jobs, TObjArray &states) |
Bool_t | CheckAlienToken () |
void | RefreshAlienToken (UInt_t now, Bool_t force=false) |
Bool_t | WaitForJobs (TArrayI &jobs, TObjArray *stages, Int_t delay, Bool_t batch) |
void | GridWatch (const TString &name, Bool_t batch=false, UShort_t delay=5 *60) |
Script to watch master jobs and automatically submit terminate jobs.
Definition in file GridWatch.C.
Bool_t CheckAlienToken | ( | ) |
Check if the AliEn token is valid
Definition at line 360 of file GridWatch.C.
Referenced by GridWatch(), RefreshAlienToken(), and WaitForJobs().
Do a PS on the grid
tmp | The file generated |
Definition at line 228 of file GridWatch.C.
Referenced by GetJobState(), and GetJobStates().
Refersh the grid token every 6th hour
now | |
force |
Definition at line 380 of file GridWatch.C.
Referenced by CheckAlienToken(), and WaitForJobs().