Tmporary disable removing downloaded reels
All checks were successful
Push image to registry / build-image (push) Successful in 5m25s
All checks were successful
Push image to registry / build-image (push) Successful in 5m25s
This commit is contained in:
@ -187,12 +187,12 @@ class InstagramRepostJob extends BrowserJob implements ShouldBeUniqueUntilProces
|
||||
dump($e->getMessage());
|
||||
} finally {
|
||||
// Removes all videos in the download folder
|
||||
$files = glob($this->downloadFolder . '*'); // Get all files in the download folder
|
||||
foreach ($files as $file) {
|
||||
if (is_file($file)) {
|
||||
unlink($file); // Delete the file
|
||||
}
|
||||
}
|
||||
// $files = glob($this->downloadFolder . '*'); // Get all files in the download folder
|
||||
// foreach ($files as $file) {
|
||||
// if (is_file($file)) {
|
||||
// unlink($file); // Delete the file
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user