Paste #268849

   
pasted on 20.03.2023 19:31
  • Edit to this paste
  • Print
  • Raw
  • Compare with paste
    #  
  • Toggle line numbers
  • Syntax highlighting  
Text paste
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diver ~/Скрипты/CronUpdate % ./CronUpdateB.py                   [1] 23:30:19
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/449.
crontab: usage error: no arguments permitted after this option
Usage:
 crontab [options] file
 crontab [options]
 crontab -n [hostname]

Options:
 -u <user>  define user
 -e         edit user's crontab
 -l         list user's crontab
 -r         delete user's crontab
 -i         prompt before deleting
 -n <host>  set host in cluster to run users' crontabs
 -c         get host in cluster to run users' crontabs
 -T <file>  test a crontab file syntax
 -V         print version and exit
 -x <mask>  enable debugging

Default operation is replace, per 1003.2
./CronUpdateB.py: строка 14: синтаксическая ошибка рядом с неожиданным маркером «(»
./CronUpdateB.py: строка 14: `now = datetime.datetime.now()'
Add Comment
Author