On 31.05.2016 13:42, Antonio Rodes wrote: > root@backupserver:~# crontab -l > 00 01 * * 6 backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup > 172.16.0.2 172.16.0.3 172.16.0.4 1 > > root@backupserver:~# su backup > 00 01 * * 6 backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup > 172.16.0.2 172.16.0.3 172.16.0.4 1 >
I'm not sure what your question is about, but you cannot specify user name in a crontab. Instead of creating a crontab for the root user, create a crontab for the backuppc user or use 'su' inside the root's crontab like that: su -m backuppc -c 'your command here' -- Alexander ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
