Skip to Main Content Skip to Search
Product Documentation

StartTime - When job or task started

Description

StartTime holds a date number specifying the time when a job or task starts running, in the format 'day mon dd hh:mm:ss tz yyyy'.

Characteristics

Usage

Job object or task object

Read-only

Always

Data type

String

Values

StartTime is assigned the job manager's system time when the task or job has started running.

Examples

Create and submit a job, then get its StartTime and FinishTime.

jm = findResource('scheduler','type','jobmanager', ...
          'name','MyJobManager','LookupURL','JobMgrHost');
j = createJob(jm);
t1 = createTask(j, @rand, 1, {12,12});
t2 = createTask(j, @rand, 1, {12,12});
t3 = createTask(j, @rand, 1, {12,12});
t4 = createTask(j, @rand, 1, {12,12});
submit(j)
waitForState(j, 'finished')
get(j, 'StartTime')
ans =
Mon Jun 21 10:02:17 EDT 2004
get(j, 'FinishTime')
ans =
Mon Jun 21 10:02:52 EDT 2004

See Also

Functions

submit

Properties

CreateTime, FinishTime, SubmitTime

  


Free Parallel Computing Interactive Kit

See how to solve large problems with minimal effort and reduce simulation time.

Get free kit

Trials Available

Try the latest versions of parallel computing products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS