linux user group brescia

immagine del castello

Archivio della mailing list

[LugBS] [forse OT] Ruby e cron

Andrea Occhi me a andreaocchi.net
Dom 11 Dic 2016 12:42:55 UTC
Il 11 dicembre 2016 13:08, Claudio Moretti <flyingstar16 a gmail.com> ha scritto:
> 2016-12-11 11:29 GMT+00:00 Andrea Occhi <me a andreaocchi.net>:
>> Ho uno script python che estrae i dati da un sqlite, che dovrebbe eseguire
>> con sys.command il comando
>>
>>  t tweet <messaggio>

# which t
/usr/local/rvm/gems/ruby-2.3.0/bin/t

che però non funziona perché:
/usr/bin/env: ruby_executable_hooks: No such file or directory


> Potresti anche usare wrapper in Python e saltare ruby del tutto
> https://github.com/geduldig/TwitterAPI
> https://github.com/bear/python-twitter
> https://www.google.com/search?q=python+twitter+api

Guardo uno di questi, non li conoscevo!

Grazie
Andrea



Maggiori informazioni sulla lista Lug