Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

PREVIOUS NEXT
Code Example
Shell :: snap install audacity 
Shell :: chmod for pem file 
Shell :: find folder size in linux 
Shell :: delete local branch git 
Shell :: how to install mpv linux 
Shell :: git check current brach 
Shell :: see default gateway linux 
Shell :: bootstrap 5 react npm 
Shell :: vim frozen 
Shell :: git set token 
Shell :: show seconds ubuntu 
Shell :: how to run shell script in linux 
Shell :: ubuntu capture screen 
Shell :: trusted installer owner 
Shell :: install nodejs on ubuntu 
Shell :: how to debug wirless android 
Shell :: npm install custom registry 
Shell :: kill linux port 
Shell :: elevated privileges windows 10 
Shell :: install java 16 ubuntu 
Shell :: enable proxy in cmd 
Shell :: docker compose no space left on device 
Shell :: git remove remote file keep local 
Shell :: checkout to last commit git 
Shell :: scp all files in directory 
Shell :: install bootstrap 4 npm 
Shell :: find image size terminal 
Shell :: permissão de execução linux 
Shell :: packet tracer ubuntu 
Shell :: ngx-material-file-input 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =