{"id":22295910,"url":"https://github.com/mkalioby/pbs4java","last_synced_at":"2025-03-25T22:34:20.119Z","repository":{"id":30714407,"uuid":"34270558","full_name":"mkalioby/pbs4java","owner":"mkalioby","description":"Automatically exported from code.google.com/p/pbs4java","archived":false,"fork":false,"pushed_at":"2015-04-20T16:24:31.000Z","size":792,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T17:09:03.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkalioby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-20T15:57:54.000Z","updated_at":"2015-04-20T16:24:31.000Z","dependencies_parsed_at":"2022-09-09T00:01:53.112Z","dependency_job_id":null,"html_url":"https://github.com/mkalioby/pbs4java","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkalioby%2Fpbs4java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkalioby%2Fpbs4java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkalioby%2Fpbs4java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkalioby%2Fpbs4java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkalioby","download_url":"https://codeload.github.com/mkalioby/pbs4java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245556438,"owners_count":20634881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T17:43:33.765Z","updated_at":"2025-03-25T22:34:20.052Z","avatar_url":"https://github.com/mkalioby.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"PBS Torque Resources Manager is one of the best open-source load balancing clusters. \n\nThis project will create an API to interface Java with PBS Torque through an Object Oriented Model not through the command-line. \nThis is anticipated to simplify the task of integeratation of your Java Solutions. \n\nAPI Doc can be found at: http://www.nubios.nileu.edu.eg/pbs4java/\n\n\n\n#How to get started with the API\n\n##Introduction\n\nThis page shows you how to use the API\n\n### How to queue a job:\n\n  + Add the jar to your classpath.\n  + create your solution as a shell file.\n  + Create instance of the job class \n  \n```java\npbsTorque.Job j = new pbsTorque.Job(\"test1\",\"path/to/shellfile\");\nj.queue();\n```\n\n### Get the Job Information\n\n```java\npbsTorque.Job j = pbsTorque.Job.getJobById(\"JOB_ID\");\nsystem.out.println(j.getStatus);\n```\n\n### Search for a job by name\n\nAPI allows you to search for job id for a job specifying a certain crateria.\n```java\nString[] foundJobs = pbsTorque.Job.SearchJobsByName(\"test\",false);\nfor (int i=0; i\u003cfoundJobs.Length;i++)\n{\npbsTorque.Job j = pbsTorque.Job.getJobById(foundJobs[i]);\nsystem.out.println(j.getStatus);\n}\n```\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkalioby%2Fpbs4java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkalioby%2Fpbs4java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkalioby%2Fpbs4java/lists"}