CronTab issues with scheduled backup

AgentSmith808

New member
Joined
Sep 3, 2011
Messages
4
Hi,
I am trying to set up a scheduled backup for every few hours via my reseller access level.
I am very new to this website sort of stuff, however I am running a VPS which
The providers set up for me.
When I click the submit button after entering the variables I want I get the following error:
Code:
sh: /usr/bin/crontab: No such file or directory
HTTP/1.1 200 OK
Server: DirectAdmin Daemon v1.39.1 Registered to DNSSlave.com
Connection: close
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html
It then goes onto the HTML code.
Is there a simple way to fix this error? Obviously I have no idea but wouldnt mind learning :D

Thanks in advance.
Dan.
P.S. I am using my providers license (obviously) I hope this doesnt affect the support. Thanks if it doesnt.
 
sh: /usr/bin/crontab: No such file or directory

Check if that file exist, if doesnt check where is with

whereis crontab

if you find where is link to tat path

ln -s ORIGINALPATH /usr/bin/crontab

If you cant find that you need to install it i suppose, the way dependon the os.

Regards
 
Hi,
Thanks for your time in helping me.
Obviosuly Im new.
Anyway:
root@gamersclanactive:/# whereis crontab
crontab:

I am running Ubuntu Lamp 10.04.
Apparently its meant to already have Crontab installed but it looks like its somehow gone?
My host installed DA for me, and I dont know what theyve done :D

Thanks for your help.
I will look for a tutorial of how to reset this.
Cheers
 
cant edit. To make this full:
Code:
root@gamersclanactive:/# whereis crontab
crontab:
root@gamersclanactive:/# ln -s ORIGINALPATH /usr/bin/crontab
root@gamersclanactive:/#  man crontab
-bash: man: command not found
 
Omg! change of heart:
Code:
root@gamersclanactive:/# whereis crontab
crontab: /usr/bin/crontab

but:
Code:
sh: /usr/bin/crontab: No such file or directory
HTTP/1.1 200 OK
Server: DirectAdmin Daemon v1.39.1 Registered to DNSSlave.com
Connection: close
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html

Why is everything so hard :P
 
Back
Top