A Pluckeye Forum

A place for Pluckeye users to chew the cud.

You are not logged in.

#1 2020-07-15 23:08:11

Andy
Member
Registered: 2020-06-08
Posts: 51

Block a site temporarily?

What is it a type in to the command line to block a website temporarily? So say I wanted a particular website blocked for 1 day, 2 days ext. what would I type in the command line?

Thanks

Offline

#2 2020-07-16 08:48:13

RNYC
Moderator
Registered: 2017-01-14
Posts: 256

Re: Block a site temporarily?

If you want to block a site for 1 day, the easiest way is to use the Pluckeye button.

1. Click the Pluckeye button.
2. Click the word always
3. Change always to 1 day
4. Click block

To make your own rule that you enter at the command line you will use the when command, and the YYYYMMDDHHMMSS date/time format. So if I want to block a site for two days starting from right now, I would type the following.

pluck + when 20200716044500-20200718044500 block whitehouse.gov

If you need to get fancy and add in certain days of the week, you can use the tool at https://u.pluckeye.net/hrs3 to help create the date/time string. Just click on the weekly button over toward the top right.

Offline

#3 2020-07-16 16:55:04

Andy
Member
Registered: 2020-06-08
Posts: 51

Re: Block a site temporarily?

RNYC there was a way that I read about how to do this on the pluckeye notes, but I can't find where I read this.

I wanted to be able to add something to the command line, so like the site url followed by how much time I want this site to be blocked.

So for instance I use a 7 day delay. But there is a site that I would maybe want to block for 1 day, 2 days ext. Like I said I would like to know how to do this in the command line.

Offline

#4 2020-07-16 17:31:11

Andy
Member
Registered: 2020-06-08
Posts: 51

Re: Block a site temporarily?

It's ok RNYC I found how to do it.

pluck + when now+1d block whitehose.gov

(edited by jon to be in preferred format)

Last edited by Andy (2020-07-16 19:31:46)

Offline

#5 2020-07-16 22:52:58

RNYC
Moderator
Registered: 2017-01-14
Posts: 256

Re: Block a site temporarily?

Oh yes, that is much easier than my way. I'm glad you found it.

Offline

Board footer

Powered by FluxBB