Answer the question
In order to leave comments, you need to log in
How to create a script execution command in Windows Server via Cron that works successfully in Linux?
People, hello everyone!
Recently, I had to fiddle with the settings of Windows Server 2012, before that I only worked with Linux.
How to create a script execution command in Windows Server that works successfully in Linux?
There is a command for cron on Linux:
echo "* * * * * /usr/bin/php -q /home/runscript.php send-data >/dev/null 2>&1" >> mwcron
Answer the question
In order to leave comments, you need to log in
Found a solution by myself. In this case, Cygwin
can act as an assistant.
The command in this case is:
Thanks to all who responded and just viewers!
install nncron.
native utility for Windows with cron format emulation
You can install a cron port and use it. For example nncron - I've been using it successfully since 2k. It is put as a service from the desired user, it works like a clock.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question