crontab for my server

For edit: crontab -e

For view: crontab -l

# minute hour(24) dayOfMonth Month dayOfWeek(0-6, 0=Sunday) command

To schedule my server to chmod 644 the access log,

 0 10 * * 0 chmod 644 /var/log/apache2/access.log

Task will perform every Sunday at 10:00 am.

 

Thanks to http://www.crontabrocks.org/

This entry was posted in Technical. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

ERROR: si-captcha.php plugin: GD image support not detected in PHP!

Contact your web host and ask them to enable GD image support for PHP.

ERROR: si-captcha.php plugin: imagepng function not detected in PHP!

Contact your web host and ask them to enable imagepng for PHP.

This site uses Akismet to reduce spam. Learn how your comment data is processed.