add new cron job in linux
For editing the cron job file :
crontab -e
For listing all the running cron job
systemctl status cron ----OR---- crontab -l
add new cron job in linux
For editing the cron job file :
crontab -e
For listing all the running cron job
systemctl status cron ----OR---- crontab -l
create cron job from command line
#write out current crontab
crontab -l > mycron
#echo new cron into cron file
echo "00 09 * * 1-5 echo hello" >> mycron
#install new cron file
crontab mycron
rm mycron
run cron job as specific user
# Crontab Running as a Specifi User
# Through Command Line, you use the User's Actual crontab like this:
sudo crontab -u username -e
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us