-
Notifications
You must be signed in to change notification settings - Fork 674
Closed
Description
Hi all,
if I run this script, it runs properly
/usr/local/bin/csvsql --query "select * from archiviotemp_05 group by numero_protocollo" /var/www/test/archiviotemp_05.csv > /var/www/test/06_archivio.csv
If I run it via cron I have a 0 kb file. This my cron job:
*/5 * * * * root /bin/bash /usr/local/bin/csvsql --query "select * from archiviotemp_05 group by numero_protocollo" /var/www/test/archiviotemp_05.csv > /var/www/test/06_archivio.csv > /dev/null 2>&1
It seems to me that there is some problem related to csvsql and cron, because I use cron without any problems with the other csvkit commands. But it could be stupid error of mine.
Thank you very much
Metadata
Metadata
Assignees
Labels
No labels