As far as many of you asking how to run some procedure automatically, at night time. Here I have attached a tutorial which explains how to do some Admin actions in batch mode.
Procedures mentioned in this pdf are done as example and checked on SAM project. To use it on your project you should review each part especially those which contain naming and modify regarding your needs
This theme was taken from avevaworldforum by RUAR.