I would like to set up a scheduled task via
anacron but I would like to do so in user mode. How can I achieve this?
You can set up a separate anacron instance to run in user mode. To do so create a
Then proceed to create a new anacrontab in your newly created
Then add the following line to your
Your custom user mode
This worked for me (thanks), but I didn't use the last step given in the answer:
"Then add the following line to your ~/.profile:"
I'm using Ubuntu Studio 12.10 Quantal and in my case instead of that last step I put that one liner here: "Applications Menu->Settings->Settings Manager" then in the Settings Manager under "Session and Startup" then the "Application Autostart" tab.
This is for those of us that are GUI users, because ~/.profile is only sourced by bash when it starts a log-in interactive shell (even ~/bashrc is not so useful since that is only sourced when bash is starting an interactive shell).