Schedule task via windows in a php file

Asked

Viewed 21 times

0

Code:

foreach (glob('ImgCode/*.png') as $Files) {
  unlink($Files);
}

Problem: I need to run this code to delete photos from folder, every day at 00:00 hours.

I would like to know what possibilities exist, what would be the best, and how to start to do.

  • 1

    Yes it is possible! see if this answers => Programmer of Windows Tasks

  • Another question you might also like to ask => http://answall.com/a/152429/31016

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.