if '04:' in str(newDate()) and int(datetime.datetime.today().weekday()) == 4:
# 04 is hour, and weekdays as you choose. - 😀
Num | En | Tr |
---|---|---|
0 | Mon | Pzt |
1 | Tue | Sal |
2 | Wed | Çar |
3 | Thu | Per |
4 | Fri | Cum |
5 | Sat | Cmt |
6 | Sun | Paz |
Backup: 07.01.2022.gz [07.01.2022 04:46]
Backup: 14.01.2022.gz [14.01.2022 04:46]
Backup: 21.01.2022.gz [21.01.2022 04:47]
Backup: 28.01.2022.gz [28.01.2022 04:47]
$ pm2 start postgresql-backup.py