Cron Jobs

I want to setup a cron job that will run ClamAV once (maybe twice) a day on a Linux server. Clam is installed and working but I have no experience with Linux commands.

Todd
https://xiiro.com


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 6 Feb 2015, at 20:10, Todd wrote:

I want to setup a cron job that will run ClamAV once (maybe twice) a day on a Linux server. Clam is installed and working but I have no experience with Linux commands.

Todd
https://xiiro.com

Do you want an ‘easy’ GUI way to set up cron, or are you happy editing the config file? Cron has its own editor wrapper that does a sanity check before saving, but it uses an underlying Unix editor of your choice.

As long as you know the command line you need to run there should be be no problem either way.

David

– mainly retired Unix SysAdmin


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

cPanel has a basic Cron GUI with pickers for setting the time/frequency so that part is simple.The problem is what to enter in the command text field.

I contacted the host to see if they can provide the correct command, unless you know what it is?

Todd
https://xiiro.com

Do you want an ‘easy’ GUI way to set up cron, or are you happy editing the config file? Cron has its own editor wrapper that does a sanity check before saving, but it uses an underlying Unix editor of your choice.

As long as you know the command line you need to run there should be be no problem either way.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 7 Feb 2015, at 14:05, Todd wrote:

cPanel has a basic Cron GUI with pickers for setting the time/frequency so that part is simple.The problem is what to enter in the command text field.

I contacted the host to see if they can provide the correct command, unless you know what it is?

If the cPanel has installed all of ClamAV it should include a ‘man’ page or an ‘info’ page and maybe some other documentation.
man ClamAV
and/or
info ClamAV
at a shell prompt may tell you what you need to use as the “command” part of the cron GUI. It probably won’t mention cron, you just use what you would enter on a shell command line.

Without knowing the way that Linux installation does things I can’t do much more than give pointers. I’ve never used GUIs on a Linux box - just straight shell access.

David

Todd
https://xiiro.com

Do you want an ‘easy’ GUI way to set up cron, or are you happy editing the config file? Cron has its own editor wrapper that does a sanity check before saving, but it uses an underlying Unix editor of your choice.

As long as you know the command line you need to run there should be be no problem either way.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi David,

The host essentially repeated what you already said. Having poked around the docs I’m still not certain I can pull this off, at least for the moment.

I think I may have found an alternative way of securing, scanning and syncing uploaded files between the sandbox and the public site that uses a little of Walter’s earlier suggestion and a little of mine, along with S3. It’s not the completely hands-off solution I was hoping for but it does remove a layer of potential risk from my server environment and allows me to sandbox files before unleashing into the Public Wilds.

I’ll revisit this cron business again at some point.

Thanks,

Todd
https://xiiro.com

If the cPanel has installed all of ClamAV it should include a ‘man’ page or an ‘info’ page and maybe some other documentation.
man ClamAV
and/or
info ClamAV
at a shell prompt may tell you what you need to use as the “command” part of the cron GUI. It probably won’t mention cron, you just use what you would enter on a shell command line.

Without knowing the way that Linux installation does things I can’t do much more than give pointers. I’ve never used GUIs on a Linux box - just straight shell access.

David

Todd
https://xiiro.com

Do you want an ‘easy’ GUI way to set up cron, or are you happy editing the config file? Cron has its own editor wrapper that does a sanity check before saving, but it uses an underlying Unix editor of your choice.

As long as you know the command line you need to run there should be be no problem either way.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options