s3cmd run on command line not on cron
- by Jonar
Many have said that the problem is with environment but I still can't seem to solve this problem.
BTW I am using Ubuntu 9.10
login as user, then sudo -s
using this command: s3cmd put file s3://bucket worked!
now here is the simple script intended for testing:
#! /bin/bash
env >/tmp/cronjob.log
s3cmd put file s3://bucket
issuing the…