Re: script bash ruleaza corect de mana si in crontab da syntax error

"manuel \"lonely wolf\" wolfshant" <[email protected]>
Newsgroups gmane.org.user-groups.rlug.general
Message-ID <[email protected]>
On 01/10/2017 03:48 PM, Paul Lacatus (Personal) wrote:
> Hai ca nu mai inteleg nimic . Acest mare script :
>
> root@singureni:~# cat min_process
> #!/bin/bash
> # Publica contor mqtt
> /usr/bin/python /root/mqtt_publish_janitza.py
> # Publica status mqtt
> /usr/bin/python /root/mqtt_publish_pins.py
> # proceseaza alarme e-mail
> /usr/bin/python /root/alarm_proc.py
>
> ruleaza corect de mana ./min_process
>
> dar lansat la minut in crontab da eroarea :
>
> Date: Tue, 10 Jan 2017 15:48:01 +0200 (EET)
> From: Cron Daemon <root@singureni>
> To: root@singureni
> Subject: Cron <root@singureni> /usr/bin/python /root/min_process
>
>     File "/root/min_process", line 3
>       /usr/bin/python /root/mqtt_publish_janitza.py
>       ^
> SyntaxError: invalid syntax
>
cum arata intrarea din cron ? ce varianta de cron folosesti ?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.