As in the piece of timber runs at 45 degrees to the horizontal, above the shaft (?) you wish to enter?
If so, I'd be tempted to find some way of stopping the rope slipping down it by mechanical means - I suppose something like:
- a sling round the beam with a couple of maillons to join it together
- rig the abseil rope from the maillons
- rig a sling or a strop from somewhere around the top of the beam down to the sling to hold it in place
- rig a backup from another anchor to the maillons
In reality, there's no reason why you couldn't hold the sling around your anchor beam in place by a strop running horizontally under the beam and connect that into the maillons, so that you've got a sort-of Y-hang, although section will be holding the majority of the loading.
If you rig it right, the strop that holds the main sling in place will act as a back-up of sorts, but I'd still rig a proper back-up just in case.
Whilst you *could* hold the sling round the anchor beam in pace by putting in a nail and leaving the sling to bear on it, it risks the strength of the sling with a point loading (so a thick rope protector would be needed) and if the nail failed, you'd get a nasty shock loading as the sling slid, possibly with a failure caused by friction.
Hello again darkness, my old friend...