Welcome! » Log In » Create A New Profile

Is crontab -e needed?

Posted by Eingedi 
Is crontab -e needed?
June 03, 2015 01:45AM
Hi,
rsnapshot has it's own crob job at '/etc/cron.d/rsnapshot' which you can edit to set up the cron job, much like crontab -e.
So... Is crontab -e needed? Can't I just edit the '/etc/cron.d/rsnapshot' exactly as I'd set up the crontab itself?
Kind of confused here... Which one should I edit/enable?

Thanks,
Barak.
Is crontab -e needed?
June 03, 2015 02:20AM
Hallo, Eingedi,

Du meintest am 03.06.15:

[quote]rsnapshot has it's own crob job at '/etc/cron.d/rsnapshot' which you
can edit to set up the cron job, much like crontab -e. So... Is
crontab -e needed? Can't I just edit the '/etc/cron.d/rsnapshot'
exactly as I'd set up the crontab itself? Kind of confused here...
Which one should I edit/enable?
[/quote]
"That depends ..."

There are 2 or 3 possible places for the cronjobs:

/etc/cron.hourly, /etc/cron.daily etc.
/etc/cron.d
somewhere under /var/spool/cron, to edit with "crontab -e"

Every place has its own syntax ...

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Sorry, only registered users may post in this forum.

Click here to login