user controls - job scheduling in linux -


I want to set up access to some websites for a limited period, say for 1 hour every day. How can I do this by using cron jobs in linux or can i use linux squid server?

In / etc / crontab:

  0 18 * * * Root /etc/init.d/apache start 0 19 * * * root /etc/init.d/apache stop  

Apache service will start at 18:00 every day, and stop 1 Adjust as required for your distorted init script structure every day at 9:00.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -