Cron Job help...how to write this command?
So I'm new to Linux and Cron jobs etc.
I'm using cPanel X to create a cron job..
how do I make it edit a line of code in a file?
for cron job
you need to follow the steps
chkconfig crond on
service crond restart
crontab -e -u root ---- this is for creating cron for a user *** here user is root you can give any name
#min Hour DoM Month Dow command
0 4 * * 1,3,5 mail -s "boo" $LOGNAME < boo.txt
this particular cron will send a message to the logged user a message from boo.txt on mon wed and fri every 4 hours
I guess you're not familiar with the cron job manager in cpanel...
here's what it looks like.
|All times are GMT -5. The time now is 08:11 AM.|