Answers for "crontab run file"

0

crontab execute shell script

# Script musts start with:
#!/bin/sh
# Allow execute grant on it
chmod +x /bin/sh/myscript.sh
# Edit crontab:
crontab -e							# open user crontab in edit mode
i      								# for insert.  Make your changes
0 2 * * * /bin/sh myscript.sh     	# plan it daily at 2am for example
:wq!   								# quit and save
Posted by: Guest on July-04-2021
0

run crontab locally in windows

reference site that will help: 
https://stackoverflow.com/questions/24035090/run-cron-job-on-php-script-on-localhost-in-windows
Posted by: Guest on December-11-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language