How would i write a simple cron job to email myself a message at a certain time? Also is it possible to create a cron job without root access. I'm trying to use my school's server?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
migrated from stackoverflow.com Feb 19 '12 at 12:53
|
Check if your name appears in the file /etc/cron.allow If your name is not listed in /etc/cron.allow, you can use crontab if not listed in /etc/cron.deny. If neither file exists, unfortunately only the root user can use crontab. You can put a job in crotab with
Create a simple like the sample bellow to send you the mail:
|
|||
|
|
|
Any cheapest hosted solution will give you a cron job manager, even if you do not have a root access. If not a cron, you can always do a simple script that wakes after certain time, and email you
|
|||
|
|