Can't figure out script for linux cron job

User discussion and information resource forum for scripting of TeraByte products using script lanugages such as TBScript, VBScript, Batch Files, and more.

Can't figure out script for linux cron job

Postby badams_ios » Wed Mar 09, 2016 3:39 pm

Running Linux Mint 17X and the latest terabyte.

Successfully ran the ./makeGRUB using this KB. https://www.terabyteunlimited.com/kb/article.php?id=586

I found this article on how to automate incrementally but it's for Windows. viewtopic.php?f=5&t=307

I need something for Linux.

Also, I want to do differential, not incremental.

Can I modify this to run on Linux? If so, what needs to change. And what needs to change to make it run differential and how do I tell it what times?

Lastly, in my /etc/fstab I have it set to mount a share on a NAS

//192.168.1.63/ManCaveSync /media/syncovery cifs credentials=/home/myname/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0

Which works just fine. Can I use /media/syncovery for the path, or do I have to use the full server and share name...etc.? //192.168.1.63/ManCaveSync...etc.

Thanks in advance!
badams_ios
 
Posts: 26
Joined: Wed May 23, 2012 11:53 am
Location: Oakdale, Ca

Return to Scripting

cron