crontab -e
min hr * * * /bin/echo "hello"
crontab -l #to verify
vi /etc/cron.deny #to stop a user from creating a cron job
username #add the username in the file
23 14 * * * echo "hello" can't display hello on terminal. should force echo "hello" > /dev/pts/0(may different to your tty). I test on RockyLinux Rocky Linux 8.4 (Green Obsidian). Please correct if I am wrong.
crontab -e
"open editor vi" --> key i insert text
23 14 * * * echo "test"
save --> esc :x
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
surac
Highly Voted 4 years, 5 months agodatboy16
3 years agoMayowa15
2 years, 3 months agoMisterR0B0T
Most Recent 5 months, 4 weeks agoPENNSHARK
1 year, 1 month agoRahul95
1 year, 9 months agozqc
1 year, 9 months agocloudsinair
1 year, 9 months ago2022G
2 years, 10 months agoAbidBajwa
3 years, 4 months agoDANG257315
4 years, 1 month ago