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, 2 months agodatboy16
2 years, 10 months agoMayowa15
2 years agoMisterR0B0T
Most Recent 3 months agoPENNSHARK
11 months agoRahul95
1 year, 6 months agozqc
1 year, 7 months agocloudsinair
1 year, 6 months ago2022G
2 years, 7 months agoAbidBajwa
3 years, 2 months agoDANG257315
3 years, 11 months ago