Cisco Cisco Smart Storage Hard Drive Trays Referencia técnica
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
How to Add Items to crontab
© 2010 Cisco Systems, Inc. All rights reserved.
Page 2 of 4
Before You Begin
This application note describes advanced features for Linux administrators.
All command line changes are only for advanced users. Beware that improper
configuration using the command line may disable your Smart Storage device and could
possibly result in lost data.
Command line configuration is an unsupported feature intended for advanced
administrators only.
Cisco Small Business Support Center will not be able to help debug command line
configuration issues.
For assistance, utilize the resources listed in the For More Information section.
View Content of the Crontab
Login to your NAS using telnet.
Type crontab
–l
You will see a small list of crontab entries.
Edit Crontab
Type crontab
–e
The crontab will be shown inside a vi session. Edit the crontab as you wish.
Once you have edited the crontab, execute the following command to activate it.
o
/etc/init.d/crond.sh restart
Save Changes So After Restart, Changes Are Still There
If you restart your NAS without following the steps below, you will find that all your custom
entries will not exist on the crontab.
To prevent loss of your work, use autorun.sh or autorunmaster and a custom script for
changing the crontab.