Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. attyan22@LAPTOP-SGBTV53C:~$ crontab -l
  2. 28 02 * * * /bin/bash /home/attyan22/python_lesson/cron.sh > /var/log/mail.log 2>&1
  3.  
  4. 11 01 * * * /usr/bin/python3 /home/attyan22/python_lesson/hello_time_2.py > /var/log/mail.log 2>&
  5.  
  6. ENV=PROD
  7. cd home/attyan22/python_lesson
  8. python3 crontest_2.py
  9.  
  10. attyan22@LAPTOP-SGBTV53C:~$ sudo /etc/init.d/cron status
  11. * cron is running
  12.  
  13. 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
  14.  
  15. Apr 25 01:11:01 LAPTOP-SGBTV53C postfix/cleanup[2252]: A2514430000000B7DC7: message-id=<20190424161101.A2514430000000B7DC7@mail.LAPTOP-SGBTV53C.com>
  16. Apr 25 01:11:01 LAPTOP-SGBTV53C postfix/bounce[2255]: 675B37F0000000289CE: sender non-delivery notification: A2514430000000B7DC7
  17. Apr 25 01:11:01 LAPTOP-SGBTV53C postfix/qmgr[1219]: A2514430000000B7DC7: from=<>, size=3059, nrcpt=1 (queue active)
  18. Apr 25 01:11:01 LAPTOP-SGBTV53C postfix/qmgr[1219]: 675B37F0000000289CE: removed
  19. 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
  20. , dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /home/attyan22/Maildir/tmp/1556122261.P2256.LAPTOP-SGBTV53C: Not a directory)
  21.  
  22. 28 02 * * * /bin/bash /home/attyan22/python_lesson/cron.sh > /var/log/mail.log 2>&1
  23.  
  24. 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