Environment Variables

Bug #1477559 reported by James
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-crontab
Fix Released
Wishlist
Martin Owens

Bug Description

Can python-crontab write system variables for crontab?

I would like to be able to set the "SHELL=/bin/bash" and "<email address hidden>"

I am using this on a Raspberry Pi and having a devil of a time getting cron to work. Perfectly valid commands are entered but they are not run. Changing the "SHELL=/bin/bash" seems to have fixed it so now I need to have my python script check for this and add it if it is not already there.

Thanks,

James

Revision history for this message
Martin Owens (doctormo) wrote :

Could you link to the definition or some example crontabs that do this?

You should also be able to run the command by prefacing the command with /bin/bash to solve your immediate issue.

Changed in python-crontab:
importance: Undecided → Wishlist
status: New → Incomplete
Martin Owens (doctormo)
Changed in python-crontab:
status: Incomplete → Fix Committed
assignee: nobody → Martin Owens (doctormo)
milestone: none → 2.0
Martin Owens (doctormo)
Changed in python-crontab:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.