Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- attyan22@LAPTOP-SGBTV53C:~$ crontab -l
- 28 02 * * * /bin/bash /home/attyan22/python_lesson/cron.sh > /var/log/mail.log 2>&1
- 11 01 * * * /usr/bin/python3 /home/attyan22/python_lesson/hello_time_2.py > /var/log/mail.log 2>&
- ENV=PROD
- cd home/attyan22/python_lesson
- python3 crontest_2.py
- attyan22@LAPTOP-SGBTV53C:~$ sudo /etc/init.d/cron status
- * cron is running
- attyan22@LAPTOP-SGBTV53C:~$ sudo ls -l /var/spool/cron/crontabs/attyan22-rw------- 1 attyan22 crontab 1178 Apr 24 02:29 /var/spool/cron/crontabs/attyan22
- Apr 25 01:11:01 LAPTOP-SGBTV53C postfix/cleanup[2252]: A2514430000000B7DC7: message-id=<20190424161101.A2514430000000B7DC7@mail.LAPTOP-SGBTV53C.com>
- Apr 25 01:11:01 LAPTOP-SGBTV53C postfix/bounce[2255]: 675B37F0000000289CE: sender non-delivery notification: A2514430000000B7DC7
- Apr 25 01:11:01 LAPTOP-SGBTV53C postfix/qmgr[1219]: A2514430000000B7DC7: from=<>, size=3059, nrcpt=1 (queue active)
- Apr 25 01:11:01 LAPTOP-SGBTV53C postfix/qmgr[1219]: 675B37F0000000289CE: removed
- Apr 25 01:11:01 LAPTOP-SGBTV53C postfix/local[2256]: A2514430000000B7DC7: to=<attyan22@LAPTOP-SGBTV53C.com>, relay=local, delay=0.09, delays=0.01/0.07/0/0.01
- , dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /home/attyan22/Maildir/tmp/1556122261.P2256.LAPTOP-SGBTV53C: Not a directory)
- 28 02 * * * /bin/bash /home/attyan22/python_lesson/cron.sh > /var/log/mail.log 2>&1
- 28 02 * * * /bin/bash /home/attyan22/python_lesson/cron.sh 2>&1 /var/log/mail.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement