run script crontab code example
Example 1: how to run a python script
# Save the script in a file with .py extension
# run the script using the below command
python fileName.py
Example 2: powershell script run
./myscript.ps1 //if is in the current directory
c:/scripts/myscript.ps1 //if you want to use the full path
&"C:/my path with space/myscript.ps1" //if your path has spaces