TECHIES WORLD

For Techs.... Techniques.... Technologies....

ApacheCpanelLinuxPHP

How to configure cronjob for Apache user

Sometimes we need to schedule jobs to run some php scripts as apache user. The following command can be used to configure cronjob for Apache user.

#crontab -u apache_user -e

Here we need to replace apache_user with the name of the user that running the apache process. Its different in different distributions of Linux.

 

Leave a Reply