Dier Eluom
asked on
How to unmount USB using Cron
I had this question after viewing Have a file from a raspberry pi automatically copied to a usb.
After writing a file to USB I want to unmount the USB at precisely 3,00pm on a Friday using CRON.
After writing a file to USB I want to unmount the USB at precisely 3,00pm on a Friday using CRON.
ASKER
Looking at the previous question before this (hyperlinked) is my device then /media/usb?
ASKER
sorry /dev/sda1 ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What does the 1: do?
Nothing, that's the line number in the code window. If you use 'select all', it doesn't select the 1:
5 = Friday
Open in new window
Replace '/dev/usbdevice' with your device