Running other Tasks
Last updated
Was this helpful?
Was this helpful?
task()
.target( '' )
.run();
task( 'C:/path/to/task.cfc' )
.run();task( 'mytask' )
.params( path='/my/path', newPath='/my/new/path' )
.run(); task( 'mytask' )
.params( '/my/path', '/my/new/path' )
.run(); task( "mytask" )
.params( 'coldbox' )
.flags( 'force', '!save' )
.run();task()
.inWorkingDirectory( 'C:/' )
.run();var output = task()
.params( "My name is Brad" )
.run( returnOutput=true );task()
.run( echo=true );