I was wondering if anyone know if we can edit the cron tab file with c# on mac and linux. I was also wondering if i can schedule tasks with crontab on mac and linux. Will the task start by themself or we have to specify specific date.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sure, you can write to the crontab just like you could any other file. You can also schedule tasks with crontab on mac and linux, and they will run by themselves.
check out
http://adminschoice.com/crontab-quick-reference
or
http://ubuntuforums.org/showthread.php?t=102626
for a crontab ‘quickstart’ guide.
You are going to have to be careful so that the integrity of the crontab is maintained. (not overwritten, not badly formatted, etc)