36 $this->logger =
$GLOBALS[
'DIC']->logger()->cal();
45 new SingleType(ilCalendarCopyDefinition::class)
72 $this->logger->info(
'Called copy files job');
74 $this->target_directory = $cal_copy_def->getTempDir();
83 $this->
copyFiles($targetdir, $cal_copy_def);
88 $this->logger->debug(
'Returning new tempdirectory: ' . $targetdir);
91 $out->setValue($targetdir);
104 $this->logger->info(
'New temp directory: ' . $tmpdir);
112 $this->logger->info(
'New final directory: ' . $final_dir);
133 $this->logger->debug(
An exception for terminatinating execution or to throw for unit testing.
Description of class class.
getCopyDefinitions()
Get copy definitions.
Description of class class.
run(array $input, Observer $observer)
run the job
getExpectedTimeOfTaskInSeconds()
int the amount of seconds this task usually taskes. If your task-duration scales with the the amount ...
createTargetDirectory($a_tmpdir)
__construct()
Constructor.
copyFiles($tmpdir, ilCalendarCopyDefinition $definition)
Copy files.
createUniqueTempDirectory()
static ilTempnam($a_temp_path=null)
Returns a unique and non existing Path for e temporary file or directory.
static makeDirParents($a_dir)
Create a new directory and all parent directories.
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.