Changeset 4 for trunk/www/process_tasks.php
- Timestamp:
- Jun 8, 2009, 9:50:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/process_tasks.php
r3 r4 9 9 { 10 10 echo('Provádím '.$Task['Command']."...\n"); 11 $Output = array(); 12 exec($Task['Command'], $Output); 13 echo(implode("\n", $Output)); 11 foreach(explode("\n", $Task['CommandList']) as $Command) 12 { 13 $Output = array(); 14 exec($Command, $Output); 15 echo(implode("\n", $Output)); 16 } 14 17 $Database->query('UPDATE Task SET Executed=1 WHERE Id='.$Task['Id']); 15 18 }
Note:
See TracChangeset
for help on using the changeset viewer.