Showing posts with label Linux Webmin bash Cron boot. Show all posts
Showing posts with label Linux Webmin bash Cron boot. Show all posts

Friday, November 8, 2013

Webmin run bash script as user on boot up Linux

This is going to be an example of how to start a bash script on boot in Linux as a user with Webmin and Cron.
Go to Webmin>System>Scheduled Cron Jobs.  Click on Create new Scheduled Cron Jobs.
 this in the command:
su - backup -c /home/backup/scripts/logtempstoweb.sh &
Note: backup  is the name of the user in this example.