I want to follow this tutorial to learn about creating CRON jobs in PHP.
Two things:
-
I am working on a Windows Machine. But the tutorial says,
The cronTab, or "Cron Table", is a Linux system process / daemon which facilitates the scheduling of repetitive tasks thereby easing up our day to day routine.
So does this mean that it will Not work on Windows machines?
-
I have read that
SSH2
is only available for PHP versions which are older thanPHP 7.0
.I currently have
PHP 7.0
So the question is that should I downgrade my PHP (that is uninstall this version and installPHP 5.6
) to use this extension.
My ultimate purpose to create a CRON job to keep monitoring a directory for the presence of a certain type of files. When a file is found, it is opened and useful data is extracted from it and loaded into the database.