You can run all three maintenance scripts at once:
Open Terminal in > Applications > Utilities folder.
At the Terminal prompt, type the following: sudo periodic daily weekly monthly
Type your Admin password when prompted, then press Return.
All three scripts will run in sequence. The scripts are complete when prompt returns.
You can also execute the scripts individually. Example: to run just the weekly script, you would type: sudo periodic weekly