about enabling crontab [moved]

zangief

Registered
Oct 2, 2006
2
0
151
I was asked to make automated email subscriptions, so i thought of using cron job. i already created a php file that can filter emails as weekly or daily, and send respective subscriptions. i even added a cron job already. the only thing left for me to do is enable the cron tab.

i was supposed to type "crontab -e" to the SSH Access page in the cPanel. however, being relatively new to cron jobs, i dont know where to type it in.

where among these 3 should i type it in? Manage SSH Keys, Connect using SSHTerm, or Connect using Java Telnet Applet?
 

jayh38

Well-Known Member
Mar 3, 2006
1,213
0
166
crontab -e would be used in an ssh session and not cpanel itsself.
That will edit the cronjobs for root, provided you have root access.
 

zangief

Registered
Oct 2, 2006
2
0
151
jayh38 said:
crontab -e would be used in an ssh session and not cpanel itsself.
That will edit the cronjobs for root, provided you have root access.
ssh session? i hate to sound like a total idiot but how can i make those?
 

jayh38

Well-Known Member
Mar 3, 2006
1,213
0
166
I strongly suggest hiring an administrator to setup what you are needing.
Explaining how to access ssh when you are not familiar with these
tasks could easily result in a dead server.
 

Anne

Member
Oct 4, 2006
9
0
151
Following is the general setting of cron which you can give from shell or cpanel

crontab -e
min hour day of month month day of week command /file to run
0 1 * * * Means cron will run daily at 1:00 AM
0 2 * * 6 Means cron will run weekly at 2:00 AM