diff --git a/cron.bash b/cron.bash index 8754517..08966eb 100755 --- a/cron.bash +++ b/cron.bash @@ -32,7 +32,7 @@ day_of_month="*" # Every day of the month month="*" # Every month day_of_week="*" # Every day of the week -command="/bin/bash /yankee-gnome-fire-consumer/consumer.bash" +command="cd /yankee-gnome-fire-consumer/; /bin/bash consumer.bash" create_cron_job "$user" "$minute" "$hour" "$day_of_month" "$month" "$day_of_week" "$command"