ManageServerJobs FetchJobStatus
From Array Suite Wiki
Contents |
Fetch Job Status
This command will retrieve the status of a job running in the queue of the OmicSoft Server.
Parameters
Required
- JobID
Optional
Example Oscript
Begin ExecuteCommand /Namespace=Server; Server "tcp://192.168.3.228:8065" /UserID=joseph /Password=OmicSoft123; Command ManageServerJobs_FetchJobStatus; Options " JobID=fd2eb56ce8ba0b2a "; OutputFile "C:\Users\joseph\Documents\drugXYZ_atherosclerosis\oscripts\output\ManageServerJobs_FetchJobStatus.results"; End;
Output
The OutputFile will report the log and status.
[AllLog] "Server job started at Saturday, 29 January 2022 00:46:16", Server version is 11.2.0.212, Mono version is 6.12.0.122, UserID: qc, Script used: , , [00:00:00] Calling /opt/mono-6.12.0/bin/mono "/OServer/ArrayServerFromConsultingEC2/App/ojob.exe" "/OSdir/ClusterScripts/ShellJobs/2022_1_29_fd2eb56ce8ba0b2a.sjin" "/OSdir/ClusterScripts/ShellJobs/2022_1_29_fd2eb56ce8ba0b2a.sjout" "/OSdir/ClusterScripts/ShellJobs/2022_1_29_fd2eb56ce8ba0b2a.sjlog", [00:00:00] Array Server Version=11.2.0.212, [00:00:00] UserID=qc, [00:00:00] ProjectID=PAQOS_RnaSeqPipeline_SM, [00:00:00] Running ojob.exe from server with cloud support..., [00:00:03] MasterServer=, [00:00:03] AnalyticServer=, [00:00:03] Loading project: PAQOS_RnaSeqPipeline_SM on the server..., [00:00:03] Loading items..., [00:00:03] Loading attachments..., [00:00:03] Loading data..., [00:00:03] Setting current user ID..., [00:00:03] Setting job ID..., [00:00:03] Saving project: PAQOS_RnaSeqPipeline_SM on the server..., [00:00:04] Setting project properties..., [00:00:04] Starting to save project (JobIndex=3), [00:00:04] Saving properties..., [00:00:04] Saving audit trails..., [00:00:04] Saving items (0)..., [00:00:04] Saving attachments (0)..., [00:00:04] Saving data..., [00:00:04] Saving data property and visualization modifications..., [00:00:05] Loading items..., [00:00:05] Loading attachments..., [00:00:05] Loading data..., [00:00:05] Loading items..., [00:00:05] Loading attachments..., [00:00:05] Loading data..., [00:00:05] Applying modifications for data properties and visualizations..., [00:00:05] Saving properties..., [00:00:05] Saving audit trails..., [00:00:05] Saving items..., [00:00:05] Saving attachments..., [00:00:05] Saving data..., [00:00:05] Finished saving project (JobIndex=3), "[00:00:05] Job: PAQOS_RnaSeqPipeline_SM was finished at Saturday, 29 January 2022 00:46:21" [Status] Finished