I am creating a website which generates PBS-jobs, based on form-input from the user. I would also want to make a page where the user can see the status of a certain project. This includes things like:
Submission date (date/time of submitting the job);
This one is already working. when submitting the job, all information from the form is sent to the database using
INSERT INTO ..., includingsysdate()as submission date.Queue time (date/time of job entering the queue);
Start time (date/time of job starting to run);
Time of completion (date/time of script finished);
While the script is running on a Linux-server, I would like PBS to return these things at the respective times while the jobs are running. Maybe qstat could be used for this, but I'm not sure...
Does anyone know a way to return these thing from PBS (or another way) and save these things into a database?