Dear All my BSD profesional friends
I was looking for some solutions to do some jobs via my server for my application.
so i found crontab cloud handle that.
i want to code this idea:
every hour set date: "ntpdate -v -b in.pool.ntp.org" and write a log to my date.log that server has updated and can view whole update report
then
backup my sqlevery night at 12 mysqldump datebase > /usr/backup/dateDATE/database.Date.sql
here is my crontab Configure:
the point is it does not work even i tried:
I really need this
I don't know I checked service cron status its running but not working as well
I was looking for some solutions to do some jobs via my server for my application.
so i found crontab cloud handle that.
i want to code this idea:
every hour set date: "ntpdate -v -b in.pool.ntp.org" and write a log to my date.log that server has updated and can view whole update report
then
backup my sqlevery night at 12 mysqldump datebase > /usr/backup/dateDATE/database.Date.sql
here is my crontab Configure:
Code:
59 * * * * ntpdate -v -b in.pool.ntp.org
59 12 * * * mysqldump -u root -p PASSWORD database > database.Date.sql
the point is it does not work even i tried:
Code:
* * * * * echo hello
I really need this
I don't know I checked service cron status its running but not working as well
Last edited by a moderator: