Richard G
Verified User
On a Centos 5 VPS we had a cronjob running for a user. I'm not sure if we had running DA on that server.
I made it myself and it was something like this (path was different if there was DA on the server):
Which worked perfectly.
Now I tried the same on a Centos 6 64-bit server with Directadmin like this:
But this won't work after a reboot, neither is it possible to make a cronjob via the DA interface with @reboot in it.
So at this moment it's fixed by using a workaround via the /etc/crontab but that is not the nicest solution.
It this a bug? Is DA looking at the cronjob but not recognizing the @reboot statement and thus ignoring it?
I made it myself and it was something like this (path was different if there was DA on the server):
Code:
@reboot /home/user/start.sh
Now I tried the same on a Centos 6 64-bit server with Directadmin like this:
Code:
@reboot /home/admin/domains/mydomain.nl/public_html/test/start.sh
So at this moment it's fixed by using a workaround via the /etc/crontab but that is not the nicest solution.
It this a bug? Is DA looking at the cronjob but not recognizing the @reboot statement and thus ignoring it?